diff options
Diffstat (limited to 'calendar/gui/dialogs/alarm-list-dialog.c')
-rw-r--r-- | calendar/gui/dialogs/alarm-list-dialog.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/calendar/gui/dialogs/alarm-list-dialog.c b/calendar/gui/dialogs/alarm-list-dialog.c index 42b992dde7..827c5fff41 100644 --- a/calendar/gui/dialogs/alarm-list-dialog.c +++ b/calendar/gui/dialogs/alarm-list-dialog.c @@ -232,13 +232,8 @@ alarm_list_dialog_run (GtkWidget *parent, ECal *ecal, EAlarmList *list_store) response_id = gtk_dialog_run (GTK_DIALOG (dialog.toplevel)); gtk_widget_hide (dialog.toplevel); -#if 0 - if (response_id == GTK_RESPONSE_OK) - dialog_to_alarm (&dialog); -#endif - gtk_widget_destroy (dialog.toplevel); g_object_unref (dialog.xml); - return TRUE; + return response_id == GTK_RESPONSE_OK ? TRUE : FALSE; } |