summaryrefslogtreecommitdiff
path: root/tests/testellipsise.c
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@katamail.com>2004-09-30 14:46:21 +0000
committerPaolo Borelli <pborelli@src.gnome.org>2004-09-30 14:46:21 +0000
commit1cb70ed4085ab904e3da241dc51f741a48574e6a (patch)
tree04763e259486b713558b97d4540a959611df99a3 /tests/testellipsise.c
parent3fd60e6a621bacc9c7e5219d6a09b567c1e03407 (diff)
downloadgtk+-1cb70ed4085ab904e3da241dc51f741a48574e6a.tar.gz
exit on close.
2004-09-30 Paolo Borelli <pborelli@katamail.com> * tests/testellipsize.c: exit on close.
Diffstat (limited to 'tests/testellipsise.c')
-rw-r--r--tests/testellipsise.c1
1 files changed, 1 insertions, 0 deletions
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);