summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/panels')
-rw-r--r--src/gui/panels/strings.c2
-rw-r--r--src/gui/panels/symbols.c4
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);