aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/alarm.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-29 10:38:48 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-29 10:38:48 +0800
commit282114a676e69a0b4c0656b3a6266d27165b2039 (patch)
treed34c5be00109f8f6af69412bbe67a6265f112098 /calendar/alarm.c
parent55ae95fe78692dfa59a17520b40b6ac89fcad706 (diff)
downloadgsoc2013-evolution-282114a676e69a0b4c0656b3a6266d27165b2039.tar.gz
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.c5
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