summaryrefslogtreecommitdiff
path: root/tests/testinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testinput.c')
-rw-r--r--tests/testinput.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testinput.c b/tests/testinput.c
index 38899ca4ed..d7b4e6e097 100644
--- a/tests/testinput.c
+++ b/tests/testinput.c
@@ -256,7 +256,8 @@ main (int argc, char *argv[])
drawing_area = gtk_drawing_area_new ();
gtk_widget_set_size_request (drawing_area, 200, 200);
- gtk_box_pack_start (GTK_BOX (vbox), drawing_area, TRUE, TRUE);
+ gtk_widget_set_vexpand (drawing_area, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), drawing_area, TRUE);
gtk_widget_show (drawing_area);
@@ -308,7 +309,7 @@ main (int argc, char *argv[])
/* .. And create some buttons */
button = gtk_button_new_with_label ("Quit");
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE);
g_signal_connect_swapped (button, "clicked",
G_CALLBACK (gtk_widget_destroy),