summaryrefslogtreecommitdiff
path: root/tests/gdkgears.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gdkgears.c')
-rw-r--r--tests/gdkgears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gdkgears.c b/tests/gdkgears.c
index f5a3d53cd8..a4aa9fadbb 100644
--- a/tests/gdkgears.c
+++ b/tests/gdkgears.c
@@ -129,7 +129,7 @@ main (int argc, char *argv[])
gtk_init ();
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ window = gtk_window_new ();
gtk_window_set_titlebar (GTK_WINDOW (window), g_object_new (GTK_TYPE_HEADER_BAR, "visible", TRUE, "title", "GdkGears", NULL));
gtk_window_set_default_size (GTK_WINDOW (window), 640, 640);
g_signal_connect (window, "destroy", G_CALLBACK (quit_cb), &done);