From 0ebe0334b1aefd2082dbcdadda2742eeaaf17943 Mon Sep 17 00:00:00 2001 From: Russell Steinthal Date: Thu, 11 Nov 1999 06:09:32 +0000 Subject: 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 --- calendar/calendar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/calendar.c') diff --git a/calendar/calendar.c b/calendar/calendar.c index ec67b3243e..0fbecaf6f6 100644 --- a/calendar/calendar.c +++ b/calendar/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; -- cgit