diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2003-08-31 22:32:49 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2003-08-31 22:32:49 +0000 |
commit | 53257cbd276afeeb630c943319aae86296005e64 (patch) | |
tree | 07a30e3ab6e78be01f8e51fffc15cde72187df06 /tests/testtoolbar.c | |
parent | 4e3936c714f1e3563c38e76ab17d0d1121a76a30 (diff) | |
download | gtk+-53257cbd276afeeb630c943319aae86296005e64.tar.gz |
connect to "delete_event" so the application will actually quit when you
Mon Sep 1 00:32:30 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testtoolbar.c (main): connect to "delete_event" so the
application will actually quit when you close the window
Diffstat (limited to 'tests/testtoolbar.c')
-rw-r--r-- | tests/testtoolbar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testtoolbar.c b/tests/testtoolbar.c index c633eedcc7..4eab1e3bf4 100644 --- a/tests/testtoolbar.c +++ b/tests/testtoolbar.c @@ -675,6 +675,8 @@ main (gint argc, gchar **argv) make_prop_editor (G_OBJECT (toolbar)); + g_signal_connect (window, "delete_event", G_CALLBACK (gtk_main_quit), NULL); + g_signal_connect (toolbar, "popup_context_menu", G_CALLBACK (popup_context_menu), NULL); gtk_main (); |