diff options
Diffstat (limited to 'testsuite/gtk/window.c')
-rw-r--r-- | testsuite/gtk/window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/gtk/window.c b/testsuite/gtk/window.c index 74e488e958..d0d3dc27b4 100644 --- a/testsuite/gtk/window.c +++ b/testsuite/gtk/window.c @@ -67,7 +67,7 @@ test_default_size (void) gint w, h; gboolean done; - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); if (interactive) { GtkEventController *controller = gtk_event_controller_key_new (); @@ -155,7 +155,7 @@ test_resize (void) gint w, h; gboolean done; - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); if (interactive) { GtkEventController *controller = gtk_event_controller_key_new (); @@ -218,7 +218,7 @@ test_resize_popup (void) gboolean done; /* testcase for the dnd window */ - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); gtk_window_set_decorated (GTK_WINDOW (window), FALSE); gtk_window_resize (GTK_WINDOW (window), 1, 1); gtk_window_get_size (GTK_WINDOW (window), &w, &h); @@ -251,7 +251,7 @@ test_show_hide (void) /* test that hide/show does not affect the size */ - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); gtk_widget_show (window); |