diff options
author | Ted Gould <ted@gould.cx> | 2011-03-03 12:45:57 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-03 12:45:57 -0600 |
commit | 8dd02d2c40d70d6b16cca5d4ca1029f97996174e (patch) | |
tree | 2dfbeaa236036f2d4768f9996675ab882a4378d1 /src | |
parent | 5867708777f3a3fc7670a539f8844900e6327e6d (diff) | |
parent | cd4699a975d0c019d0143d26cfaa0758af1e655f (diff) | |
download | ayatana-indicator-datetime-8dd02d2c40d70d6b16cca5d4ca1029f97996174e.tar.gz ayatana-indicator-datetime-8dd02d2c40d70d6b16cca5d4ca1029f97996174e.tar.bz2 ayatana-indicator-datetime-8dd02d2c40d70d6b16cca5d4ca1029f97996174e.zip |
Close window on close button press
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-prefs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c index cb38c24..5248911 100644 --- a/src/datetime-prefs.c +++ b/src/datetime-prefs.c @@ -678,6 +678,7 @@ main (int argc, char ** argv) unique_app_watch_window (app, GTK_WINDOW (dlg)); gtk_widget_show_all (dlg); + g_signal_connect (dlg, "response", G_CALLBACK(gtk_main_quit), NULL); g_signal_connect (dlg, "destroy", G_CALLBACK(gtk_main_quit), NULL); gtk_main (); } |