From 1cb70ed4085ab904e3da241dc51f741a48574e6a Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Thu, 30 Sep 2004 14:46:21 +0000 Subject: exit on close. 2004-09-30 Paolo Borelli * tests/testellipsize.c: exit on close. --- tests/testellipsise.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/testellipsise.c') diff --git a/tests/testellipsise.c b/tests/testellipsise.c index 5e5d5a039e..0783d619da 100644 --- a/tests/testellipsise.c +++ b/tests/testellipsise.c @@ -45,6 +45,7 @@ main (int argc, char *argv[]) gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL); vbox = gtk_vbox_new (0, FALSE); gtk_container_add (GTK_CONTAINER (window), vbox); hbox = gtk_hbox_new (0, FALSE); -- cgit v1.2.1