summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbutton.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2010-10-31 18:07:20 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-02 12:04:35 +0900
commit260ccdfebef9e17842dcc162aefba46fe5459c7c (patch)
tree52e18d59f343ae23c75a7cf186009b27237a11c3 /gtk/gtktoolbutton.c
parentc50f79041776098cecc4b65bbe4305173dff0847 (diff)
downloadgtk+-260ccdfebef9e17842dcc162aefba46fe5459c7c.tar.gz
gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r--gtk/gtktoolbutton.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index e2876d8fb5..fd9e70d692 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_box_new (GTK_ORIENTATION_VERTICAL, FALSE, icon_spacing);
+ box = gtk_box_new (GTK_ORIENTATION_VERTICAL, icon_spacing);
else
- box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, icon_spacing);
+ box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 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_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, icon_spacing);
+ box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 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_box_new (GTK_ORIENTATION_VERTICAL, FALSE, icon_spacing);
+ box = gtk_box_new (GTK_ORIENTATION_VERTICAL, icon_spacing);
if (icon)
gtk_box_pack_end (GTK_BOX (box), icon, label ? FALSE : TRUE, TRUE, 0);
if (label)