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