summaryrefslogtreecommitdiff
path: root/tests/testmodelbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testmodelbutton.c')
-rw-r--r--tests/testmodelbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testmodelbutton.c b/tests/testmodelbutton.c
index bea494faa6..523de0db26 100644
--- a/tests/testmodelbutton.c
+++ b/tests/testmodelbutton.c
@@ -75,7 +75,7 @@ on_application_activate (GApplication *gapplication,
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
gtk_container_add (GTK_CONTAINER (box), widget);
- widget = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ widget = gtk_window_new ();
gtk_container_add (GTK_CONTAINER (widget), box);
gtk_widget_show (widget);
gtk_application_add_window (GTK_APPLICATION (application), GTK_WINDOW (widget));