From 62904a0605d2800801a74bf2f5044512d3bf939c Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 31 Jul 2006 09:13:03 +0000 Subject: Fixes #333423 svn path=/trunk/; revision=32443 --- calendar/gui/alarm-notify/alarm-queue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'calendar/gui/alarm-notify/alarm-queue.c') 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); -- cgit v1.2.3