diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1999-01-29 08:51:55 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-01-29 08:51:55 +0800 |
commit | 7fa29f65a4b068db075d0da9dbf05c2a3c4569a4 (patch) | |
tree | 10b40041921cbd83857d3ed707562efedb04f53e /calendar/gui/alarm-notify/alarm.h | |
parent | 1ae6dea2dbe31f7aef33db4f6c099b4476a545e9 (diff) | |
download | gsoc2013-evolution-7fa29f65a4b068db075d0da9dbf05c2a3c4569a4.tar gsoc2013-evolution-7fa29f65a4b068db075d0da9dbf05c2a3c4569a4.tar.gz gsoc2013-evolution-7fa29f65a4b068db075d0da9dbf05c2a3c4569a4.tar.bz2 gsoc2013-evolution-7fa29f65a4b068db075d0da9dbf05c2a3c4569a4.tar.lz gsoc2013-evolution-7fa29f65a4b068db075d0da9dbf05c2a3c4569a4.tar.xz gsoc2013-evolution-7fa29f65a4b068db075d0da9dbf05c2a3c4569a4.tar.zst gsoc2013-evolution-7fa29f65a4b068db075d0da9dbf05c2a3c4569a4.zip |
Schedule an alarm for midnight to change the
1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calendar.c (calendar_init_alarms): Schedule an alarm for
midnight to change the calendar_day_begin/calendar_day_end.
* alarm.c (alarm_ready): If we reschedule, there is no need to
activate any pending alarms.
svn path=/trunk/; revision=634
Diffstat (limited to 'calendar/gui/alarm-notify/alarm.h')
-rw-r--r-- | calendar/gui/alarm-notify/alarm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/alarm-notify/alarm.h b/calendar/gui/alarm-notify/alarm.h index 3c2ab18ff1..81710bda5e 100644 --- a/calendar/gui/alarm-notify/alarm.h +++ b/calendar/gui/alarm-notify/alarm.h @@ -5,8 +5,8 @@ typedef void (*AlarmFunction)(time_t time, CalendarAlarm *which, void *closuse); -void alarm_init (void); -void alarm_add (CalendarAlarm *alarm, AlarmFunction fn, void *closure); -int alarm_kill (void *closure); +void alarm_init (void); +gboolean alarm_add (CalendarAlarm *alarm, AlarmFunction fn, void *closure); +int alarm_kill (void *closure); #endif |