summaryrefslogtreecommitdiff
path: root/tests/testtreelistmodel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testtreelistmodel.c')
-rw-r--r--tests/testtreelistmodel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreelistmodel.c b/tests/testtreelistmodel.c
index 06d956a139..b267fded4c 100644
--- a/tests/testtreelistmodel.c
+++ b/tests/testtreelistmodel.c
@@ -327,7 +327,7 @@ main (int argc, char *argv[])
g_signal_connect (win, "destroy", G_CALLBACK (quit_cb), &done);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
- gtk_container_add (GTK_CONTAINER (win), vbox);
+ gtk_window_set_child (GTK_WINDOW (win), vbox);
search_entry = gtk_search_entry_new ();
gtk_container_add (GTK_CONTAINER (vbox), search_entry);