aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
authorRussell Steinthal <steintr@src.gnome.org>1999-11-11 14:09:32 +0800
committerRussell Steinthal <steintr@src.gnome.org>1999-11-11 14:09:32 +0800
commit0ebe0334b1aefd2082dbcdadda2742eeaaf17943 (patch)
tree202458b0f5c14051fd6d3f15376aa5db613f18a3 /calendar/gui/calendar.c
parenteb3130b8449c9da1c9c4dafb453828a94c9d61fe (diff)
downloadgsoc2013-evolution-0ebe0334b1aefd2082dbcdadda2742eeaaf17943.tar.gz
gsoc2013-evolution-0ebe0334b1aefd2082dbcdadda2742eeaaf17943.tar.zst
gsoc2013-evolution-0ebe0334b1aefd2082dbcdadda2742eeaaf17943.zip
Schedule a new day_change_alarm in the day_change_alarm callback, so that the
process repeats the next day. This fixes a bug by which alarms would mysteriously stop working after gnomecal was running for its second midnight. svn path=/trunk/; revision=1380
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index ec67b3243e..0fbecaf6f6 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -528,7 +528,8 @@ calendar_day_change (time_t time, CalendarAlarm *which, void *closure)
Calendar *cal = closure;
calendar_set_day ();
-
+ calendar_init_alarms (cal);
+
for (events = cal->events; events; events = events->next){
iCalObject *obj = events->data;