summaryrefslogtreecommitdiff
path: root/testsuite/gtk/displayclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gtk/displayclose.c')
-rw-r--r--testsuite/gtk/displayclose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gtk/displayclose.c b/testsuite/gtk/displayclose.c
index b1f66e2a32..e5e33c880c 100644
--- a/testsuite/gtk/displayclose.c
+++ b/testsuite/gtk/displayclose.c
@@ -23,7 +23,7 @@ main (int argc, char **argv)
gdk_display_manager_set_default_display (gdk_display_manager_get (), display);
- win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ win = gtk_window_new ();
but = gtk_button_new_with_label ("Try to Exit");
g_signal_connect_swapped (but, "clicked",