diff options
Diffstat (limited to 'demos/gtk-demo/list_store.c')
-rw-r--r-- | demos/gtk-demo/list_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/list_store.c b/demos/gtk-demo/list_store.c index b96723d7ee..da9e9d18d8 100644 --- a/demos/gtk-demo/list_store.c +++ b/demos/gtk-demo/list_store.c @@ -307,7 +307,7 @@ do_list_store (GtkWidget *do_widget) } else { - gtk_widget_destroy (window); + gtk_window_destroy (GTK_WINDOW (window)); window = NULL; if (timeout != 0) { |