aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-03-03 13:14:14 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-03-03 13:14:14 -0500
commitcd4699a975d0c019d0143d26cfaa0758af1e655f (patch)
tree2dfbeaa236036f2d4768f9996675ab882a4378d1 /src
parent5867708777f3a3fc7670a539f8844900e6327e6d (diff)
downloadayatana-indicator-datetime-cd4699a975d0c019d0143d26cfaa0758af1e655f.tar.gz
ayatana-indicator-datetime-cd4699a975d0c019d0143d26cfaa0758af1e655f.tar.bz2
ayatana-indicator-datetime-cd4699a975d0c019d0143d26cfaa0758af1e655f.zip
quit when the close putton is clicked
Diffstat (limited to 'src')
-rw-r--r--src/datetime-prefs.c1
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 ();
}