]> Pileus Git - ~andy/gtk/blobdiff - tests/testxinerama.c
gtk: remove "gboolean homogeneous" from gtk_box_new()
[~andy/gtk] / tests / testxinerama.c
index 8ecca105fd61a6710f6158de23b3654fa6e3b26e..0dc822978a50bd2f23c7c0f6fa7b2da73c68da54 100644 (file)
@@ -109,7 +109,8 @@ main (int argc, char *argv[])
                              primary_monitor);
       gtk_label_set_markup (GTK_LABEL (label), str);
       g_free (str);
-      vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, TRUE, 1);
+      vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 1);
+      gtk_box_set_homogeneous (GTK_BOX (vbox), TRUE);
       gtk_container_add (GTK_CONTAINER (window), vbox);
       gtk_container_add (GTK_CONTAINER (vbox), label);
       button = gtk_button_new_with_label ("Query current monitor");