diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-29 10:38:48 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-29 10:38:48 +0800 |
commit | 282114a676e69a0b4c0656b3a6266d27165b2039 (patch) | |
tree | d34c5be00109f8f6af69412bbe67a6265f112098 /calendar/alarm.c | |
parent | 55ae95fe78692dfa59a17520b40b6ac89fcad706 (diff) | |
download | gsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.tar gsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.tar.gz gsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.tar.bz2 gsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.tar.lz gsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.tar.xz gsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.tar.zst gsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.zip |
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
Diffstat (limited to 'calendar/alarm.c')
-rw-r--r-- | calendar/alarm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/alarm.c b/calendar/alarm.c index aaa67f0aea..6573a1be3d 100644 --- a/calendar/alarm.c +++ b/calendar/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 |