diff options
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index c1d6f5af14..2ee3cdeaaf 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -1248,8 +1248,7 @@ notify_dialog_cb (AlarmNotifyResult result, int snooze_mins, gpointer data) /* Maybe we should warn about this first? */ while (valid) { - gtk_list_store_remove (GTK_LIST_STORE (model), &iter); - valid = gtk_tree_model_iter_next (model, &iter); + valid = gtk_list_store_remove (GTK_LIST_STORE (model), &iter); } gtk_widget_destroy (alarm_notifications_dialog->dialog); |