summaryrefslogtreecommitdiff
path: root/tests/testscrolledwindow.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 /tests/testscrolledwindow.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 'tests/testscrolledwindow.c')
-rw-r--r--tests/testscrolledwindow.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/testscrolledwindow.c b/tests/testscrolledwindow.c
index ddfaf85cb9..0c9927971e 100644
--- a/tests/testscrolledwindow.c
+++ b/tests/testscrolledwindow.c
@@ -60,8 +60,8 @@ scrollable_policy (void)
GtkWidget *viewport, *label, *expander, *widget;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 2);
- vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 6);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_set_border_width (GTK_CONTAINER (window), 8);
@@ -102,14 +102,14 @@ scrollable_policy (void)
/* Add controls here */
expander = gtk_expander_new ("Controls");
gtk_expander_set_expanded (GTK_EXPANDER (expander), TRUE);
- cntl = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 2);
+ cntl = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
gtk_widget_show (cntl);
gtk_widget_show (expander);
gtk_container_add (GTK_CONTAINER (expander), cntl);
gtk_box_pack_start (GTK_BOX (vbox), expander, FALSE, FALSE, 0);
/* Add Horizontal policy control here */
- hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 2);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
gtk_widget_show (hbox);
widget = gtk_label_new ("hscroll-policy");
@@ -129,7 +129,7 @@ scrollable_policy (void)
G_CALLBACK (horizontal_policy_changed), viewport);
/* Add Vertical policy control here */
- hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 2);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
gtk_widget_show (hbox);
widget = gtk_label_new ("vscroll-policy");
@@ -180,7 +180,7 @@ scrollable_policy (void)
G_CALLBACK (content_height_changed), swindow);
/* Add Label orientation control here */
- hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 2);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
gtk_widget_show (hbox);
widget = gtk_label_new ("label-flip");