summaryrefslogtreecommitdiff
path: root/tests/testsensitive.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsensitive.c')
-rw-r--r--tests/testsensitive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testsensitive.c b/tests/testsensitive.c
index a7badb9aaf..7f8b0be77e 100644
--- a/tests/testsensitive.c
+++ b/tests/testsensitive.c
@@ -62,7 +62,7 @@ int main (int argc, char *argv[])
window = gtk_window_new ();
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
- gtk_container_add (GTK_CONTAINER (window), box);
+ gtk_window_set_child (GTK_WINDOW (window), box);
w = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 15);
gtk_container_add (GTK_CONTAINER (box), w);