diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-08-27 06:38:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-08-27 06:38:50 (GMT) |
commit | 35024acba0f134cfe09711e3f1a6f29a01257aeb (patch) | |
tree | bbdcf3903bb60df15d26b57e26018754d6a525eb /src/gui | |
parent | 10b620c3f7d6a9e78aa1e9d6dabef466d0b9e3af (diff) |
Removed some warnings about deprecated calls to gtk_[hv]box_new().
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@395 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/panels/strings.c | 2 | ||||
-rw-r--r-- | src/gui/panels/symbols.c | 4 | ||||
-rw-r--r-- | src/gui/tb/source.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c index 630b175..8706151 100644 --- a/src/gui/panels/strings.c +++ b/src/gui/panels/strings.c @@ -163,7 +163,7 @@ static void g_strings_panel_init(GStringsPanel *panel) base = G_EDITOR_ITEM(panel); - base->widget = gtk_vbox_new(FALSE, 0); + base->widget = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(base->widget); ref = G_OBJECT(base->widget); diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c index 959fb2c..40a135c 100644 --- a/src/gui/panels/symbols.c +++ b/src/gui/panels/symbols.c @@ -216,7 +216,7 @@ static void g_symbols_panel_init(GSymbolsPanel *panel) base = G_EDITOR_ITEM(panel); - base->widget = gtk_vbox_new(FALSE, 0); + base->widget = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(base->widget); ref = G_OBJECT(base->widget); @@ -224,7 +224,7 @@ static void g_symbols_panel_init(GSymbolsPanel *panel) /* Barre d'outils supérieure */ - box = gtk_hbox_new(FALSE, 0); + box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(box); gtk_box_pack_start(GTK_BOX(base->widget), box, FALSE, FALSE, 0); diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c index 74de77e..bac6b0f 100644 --- a/src/gui/tb/source.c +++ b/src/gui/tb/source.c @@ -78,7 +78,7 @@ static GtkWidget *build_source_tb_widget(GObject *ref) gtk_widget_show(handlebox); gtk_container_add(GTK_CONTAINER(result), handlebox); - hbox = gtk_hbox_new(FALSE, 0); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox); gtk_container_add(GTK_CONTAINER(handlebox), hbox); |