From 282114a676e69a0b4c0656b3a6266d27165b2039 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Wed, 29 Apr 1998 02:38:48 +0000 Subject: Lots of fixes: Lots of fixes: 1. Alarms are rescheduled when an event has been changed. 2. Avoid emitting spurious event changes. 3. Applied black magic to get the mail-notification working. Miguel. svn path=/trunk/; revision=199 --- calendar/gui/alarm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/gui/alarm.c') diff --git a/calendar/gui/alarm.c b/calendar/gui/alarm.c index aaa67f0aea..6573a1be3d 100644 --- a/calendar/gui/alarm.c +++ b/calendar/gui/alarm.c @@ -103,7 +103,7 @@ alarm_add (time_t alarm_time, AlarmFunction fn, void *closure) } } -void +int alarm_kill (void *closure_key) { GList *p; @@ -117,9 +117,10 @@ alarm_kill (void *closure_key) head_alarm = alarms->data; else head_alarm = NULL; - return; + return 1; } } + return 0; } void -- cgit v1.2.3