diff options
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r-- | tests/testtooltips.c | 3 |
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); |