diff options
Diffstat (limited to 'demos/gtk-demo/headerbar.c')
-rw-r--r-- | demos/gtk-demo/headerbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/headerbar.c b/demos/gtk-demo/headerbar.c index 6784ea3905..dff42be3a4 100644 --- a/demos/gtk-demo/headerbar.c +++ b/demos/gtk-demo/headerbar.c @@ -23,7 +23,7 @@ do_headerbar (GtkWidget *do_widget) if (!window) { - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); gtk_window_set_display (GTK_WINDOW (window), gtk_widget_get_display (do_widget)); g_signal_connect (window, "destroy", G_CALLBACK (gtk_widget_destroyed), &window); |