summaryrefslogtreecommitdiff
path: root/tests/testcombo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcombo.c')
-rw-r--r--tests/testcombo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testcombo.c b/tests/testcombo.c
index cdcb1d41a0..51aae6a300 100644
--- a/tests/testcombo.c
+++ b/tests/testcombo.c
@@ -954,7 +954,7 @@ main (int argc, char **argv)
g_signal_connect (window, "destroy", G_CALLBACK (quit_cb), &done);
mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
- gtk_container_add (GTK_CONTAINER (window), mainbox);
+ gtk_window_set_child (GTK_WINDOW (window), mainbox);
/* GtkCellView */
tmp = gtk_frame_new ("GtkCellView");