aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index c9f4dc9493..b451703e8a 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -434,7 +434,16 @@ calendar_object_changed (Calendar *cal, iCalObject *obj, int flags)
static void
calendar_day_change (time_t time, CalendarAlarm *which, void *closure)
{
+ GList *events;
+ Calendar *cal = closure;
+
calendar_set_day ();
+
+ for (events = cal->events; events; events = events->next){
+ iCalObject *obj = events->data;
+
+ ical_object_try_alarms (obj);
+ }
}
static void