diff options
author | Paolo Borelli <pborelli@katamail.com> | 2004-09-30 14:46:21 +0000 |
---|---|---|
committer | Paolo Borelli <pborelli@src.gnome.org> | 2004-09-30 14:46:21 +0000 |
commit | 1cb70ed4085ab904e3da241dc51f741a48574e6a (patch) | |
tree | 04763e259486b713558b97d4540a959611df99a3 /tests/testellipsise.c | |
parent | 3fd60e6a621bacc9c7e5219d6a09b567c1e03407 (diff) | |
download | gtk+-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.c | 1 |
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); |