aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
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')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/calendar.c3
-rw-r--r--calendar/gui/calendar.c3
3 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0fb83f3f78..139434da4c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+1999-11-11 Russell Steinthal <rms39@columbia.edu>
+
+ * calendar.c (calendar_day_change): Add call to
+ calendar_init_alarms() to schedule another day change alarm.
+
1999-11-09 Eskil Heyn Olsen <deity@eskil.dk>
* calendar-conduit.c: Enabled debug output. Sets a g_log_domain,
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;
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;