diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:00:32 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:22:58 +0200 |
commit | a9894d4cf48e04dcb89043b425be07870ad7c496 (patch) | |
tree | e375b4a784feea7eb7815ecb2c69443e8eaef55a /gtk/gtktoolbutton.c | |
parent | b2207f6730137f5167b39d6c686a905ba2f532ab (diff) | |
download | gtk+-a9894d4cf48e04dcb89043b425be07870ad7c496.tar.gz |
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r-- | gtk/gtktoolbutton.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c index 1b94b23bfe..e2876d8fb5 100644 --- a/gtk/gtktoolbutton.c +++ b/gtk/gtktoolbutton.c @@ -510,9 +510,9 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item) case GTK_TOOLBAR_BOTH: if (text_orientation == GTK_ORIENTATION_HORIZONTAL) - box = gtk_vbox_new (FALSE, icon_spacing); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, icon_spacing); else - box = gtk_hbox_new (FALSE, icon_spacing); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, icon_spacing); if (icon) gtk_box_pack_start (GTK_BOX (box), icon, TRUE, TRUE, 0); gtk_box_pack_end (GTK_BOX (box), label, FALSE, TRUE, 0); @@ -522,7 +522,7 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item) case GTK_TOOLBAR_BOTH_HORIZ: if (text_orientation == GTK_ORIENTATION_HORIZONTAL) { - box = gtk_hbox_new (FALSE, icon_spacing); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, icon_spacing); if (icon) gtk_box_pack_start (GTK_BOX (box), icon, label? FALSE : TRUE, TRUE, 0); if (label) @@ -530,7 +530,7 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item) } else { - box = gtk_vbox_new (FALSE, icon_spacing); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, icon_spacing); if (icon) gtk_box_pack_end (GTK_BOX (box), icon, label ? FALSE : TRUE, TRUE, 0); if (label) |