diff options
Diffstat (limited to 'tests/testbuttons.c')
-rw-r--r-- | tests/testbuttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testbuttons.c b/tests/testbuttons.c index 417db54230..08f4418e29 100644 --- a/tests/testbuttons.c +++ b/tests/testbuttons.c @@ -33,7 +33,7 @@ int main (int argc, char *argv[]) box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - gtk_container_add (GTK_CONTAINER (window), box); + gtk_window_set_child (GTK_WINDOW (window), box); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_container_add (GTK_CONTAINER (box), hbox); |