diff options
Diffstat (limited to 'tests/testtreeview.c')
-rw-r--r-- | tests/testtreeview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreeview.c b/tests/testtreeview.c index 534a6f0f6e..a5648c6be9 100644 --- a/tests/testtreeview.c +++ b/tests/testtreeview.c @@ -702,7 +702,7 @@ main (int argc, box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - gtk_container_add (GTK_CONTAINER (window), box); + gtk_window_set_child (GTK_WINDOW (window), box); tv = gtk_tree_view_new_with_model (models[0]); g_signal_connect (tv, "row-activated", G_CALLBACK (on_row_activated), NULL); |