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/panels | |
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/panels')
-rw-r--r-- | src/gui/panels/strings.c | 2 | ||||
-rw-r--r-- | src/gui/panels/symbols.c | 4 |
2 files changed, 3 insertions, 3 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); |