From eda3b435536b23aaffd353fd499366d5c039db02 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 31 Dec 2017 12:54:42 -0500 Subject: [PATCH] gtk-demo: Stop using ::delete-event --- demos/gtk-demo/list_store.c | 3 +-- demos/gtk-demo/main.ui | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/demos/gtk-demo/list_store.c b/demos/gtk-demo/list_store.c index 84b657200b..3055eb24c9 100644 --- a/demos/gtk-demo/list_store.c +++ b/demos/gtk-demo/list_store.c @@ -296,8 +296,7 @@ do_list_store (GtkWidget *do_widget) /* finish & show */ gtk_window_set_default_size (GTK_WINDOW (window), 280, 250); - g_signal_connect (window, "delete-event", - G_CALLBACK (window_closed), NULL); + g_signal_connect (window, "destroy", G_CALLBACK (window_closed), NULL); } if (!gtk_widget_get_visible (window)) diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui index 7e161685bb..e02808c185 100644 --- a/demos/gtk-demo/main.ui +++ b/demos/gtk-demo/main.ui @@ -19,7 +19,6 @@ 800 600 GTK+ Demo -