diff options
Diffstat (limited to 'demos/gtk-demo/shortcut_triggers.c')
-rw-r--r-- | demos/gtk-demo/shortcut_triggers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/shortcut_triggers.c b/demos/gtk-demo/shortcut_triggers.c index 114d8290b0..126b9f051d 100644 --- a/demos/gtk-demo/shortcut_triggers.c +++ b/demos/gtk-demo/shortcut_triggers.c @@ -86,7 +86,7 @@ do_shortcut_triggers (GtkWidget *do_widget) if (!gtk_widget_get_visible (window)) gtk_widget_show (window); else - gtk_widget_destroy (window); + gtk_window_destroy (GTK_WINDOW (window)); return window; } |