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/ChangeLog | 8 ++++++++ calendar/gui/alarm-notify/alarm-queue.c | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d8bb0afb2c..a5786a3a6d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2006-07-31 Chenthill Palanisamy + + Fixes #333423 + * gui/alarm-notify/alarm-queue.c: + (notify_dialog_cb): Need not get the next iter through + the tree model, as gtk list store would store the next + valid iter in iter. + 2006-07-31 Chenthill Palanisamy Fixes #323499 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