diff options
Diffstat (limited to 'tests/testcenterbox.c')
-rw-r--r-- | tests/testcenterbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testcenterbox.c b/tests/testcenterbox.c index 9d05d18762..326a728bfb 100644 --- a/tests/testcenterbox.c +++ b/tests/testcenterbox.c @@ -28,7 +28,7 @@ main (int argc, char *argv[]) gtk_label_set_ellipsize (GTK_LABEL (child), PANGO_ELLIPSIZE_END); gtk_center_box_set_end_widget (GTK_CENTER_BOX (box), child); - g_signal_connect (window, "delete-event", G_CALLBACK (gtk_main_quit), NULL); + g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL); gtk_widget_show (window); |