summaryrefslogtreecommitdiff
path: root/tests/testtooltips.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-01-01 15:27:16 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-01-16 14:14:09 -0500
commit41e4c93443066b89770cbc7b4bf52e343cf55659 (patch)
treeb5fe10312898484800d194548f913f971d036d48 /tests/testtooltips.c
parenta739ee690517da1a53258a5d0ca58e22b47400f5 (diff)
downloadgtk+-41e4c93443066b89770cbc7b4bf52e343cf55659.tar.gz
Replace all remaining uses of delete-event
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r--tests/testtooltips.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c
index 25485acfbb..6feda3f950 100644
--- a/tests/testtooltips.c
+++ b/tests/testtooltips.c
@@ -298,8 +298,7 @@ main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Tooltips test");
- g_signal_connect (window, "delete_event",
- G_CALLBACK (gtk_main_quit), NULL);
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3);
gtk_container_add (GTK_CONTAINER (window), box);