summaryrefslogtreecommitdiff
path: root/tests/testflowbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testflowbox.c')
-rw-r--r--tests/testflowbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testflowbox.c b/tests/testflowbox.c
index 9421409f3d..30ae1c0b90 100644
--- a/tests/testflowbox.c
+++ b/tests/testflowbox.c
@@ -386,7 +386,7 @@ create_window (void)
gtk_widget_show (vbox);
gtk_widget_show (hbox);
- gtk_container_add (GTK_CONTAINER (window), hbox);
+ gtk_window_set_child (GTK_WINDOW (window), hbox);
gtk_container_add (GTK_CONTAINER (hbox), vbox);
swindow = gtk_scrolled_window_new (NULL, NULL);