diff options
Diffstat (limited to 'src/calendar.c')
-rw-r--r-- | src/calendar.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/calendar.c b/src/calendar.c index 2d29778..5936aef 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -107,17 +107,16 @@ zenity_calendar_dialog_response (GtkWidget *widget, int response, gpointer data) g_date_free (date); zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK); - gtk_main_quit (); break; case GTK_RESPONSE_CANCEL: zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL); - gtk_main_quit (); break; default: /* Esc dialog */ zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC); break; - } + } + gtk_main_quit (); } |