summaryrefslogtreecommitdiff
path: root/tests/testmultiscreen.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/testmultiscreen.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/testmultiscreen.c')
-rw-r--r--tests/testmultiscreen.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/testmultiscreen.c b/tests/testmultiscreen.c
index 52a05dbed4..19e206130e 100644
--- a/tests/testmultiscreen.c
+++ b/tests/testmultiscreen.c
@@ -122,7 +122,8 @@ main (int argc, char *argv[])
g_signal_connect (window[i], "destroy",
G_CALLBACK (gtk_main_quit), NULL);
- vbox[i] = gtk_box_new (GTK_ORIENTATION_VERTICAL, TRUE, 0);
+ vbox[i] = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ gtk_box_set_homogeneous (GTK_BOX (vbox[i]), TRUE);
gtk_container_add (GTK_CONTAINER (window[i]), vbox[i]);
button = g_object_new (GTK_TYPE_BUTTON,
@@ -151,8 +152,9 @@ main (int argc, char *argv[])
gtk_widget_show_all (window[i]);
moving_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- moving_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, TRUE, 0);
-
+ moving_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ gtk_box_set_homogeneous (GTK_BOX (moving_vbox), TRUE);
+
gtk_container_add (GTK_CONTAINER (moving_window), moving_vbox);
moving_button = g_object_new (GTK_TYPE_BUTTON,
"label", "Move to Next Screen",