diff options
Diffstat (limited to 'demos/gtk-demo/entry_undo.c')
-rw-r--r-- | demos/gtk-demo/entry_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/entry_undo.c b/demos/gtk-demo/entry_undo.c index e94aefd529..089bc6b13c 100644 --- a/demos/gtk-demo/entry_undo.c +++ b/demos/gtk-demo/entry_undo.c @@ -20,7 +20,7 @@ do_entry_undo (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)); gtk_window_set_title (GTK_WINDOW (window), "Entry Undo"); |