aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-12-17 12:40:38 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-12-17 12:40:38 +0800
commitadac6994268794b434973701ed5f20386eed02c9 (patch)
treec611807515f7815b4d5ac8a7be5069b2bf012461 /calendar/gui/alarm-notify/alarm.h
parent52f6c4b4fe2c9ed4bed484b9e9d20a378275de61 (diff)
downloadgsoc2013-evolution-adac6994268794b434973701ed5f20386eed02c9.tar.gz
gsoc2013-evolution-adac6994268794b434973701ed5f20386eed02c9.tar.zst
gsoc2013-evolution-adac6994268794b434973701ed5f20386eed02c9.zip
Rewrote the old and broken alarm system. It never actually worked
1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx> Rewrote the old and broken alarm system. It never actually worked properly. Now it works properly, and I figured a nice way to get the Audio alarm do something nicer (it is now like an alarm clock :-). * gnome-cal.c (calendar_notify): Now we take a CalendarAlarm to actually distinguish which alarm was triggered. * alarm.c (alarm_ready): The code was only activating the first alarm. Reschedule the timer upon delivery of an alarm. svn path=/trunk/; revision=535
Diffstat (limited to 'calendar/gui/alarm-notify/alarm.h')
-rw-r--r--calendar/gui/alarm-notify/alarm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm.h b/calendar/gui/alarm-notify/alarm.h
index d37ff0c1bf..3c2ab18ff1 100644
--- a/calendar/gui/alarm-notify/alarm.h
+++ b/calendar/gui/alarm-notify/alarm.h
@@ -3,10 +3,10 @@
#include <time.h>
-typedef void (*AlarmFunction)(time_t time, void *closuse);
+typedef void (*AlarmFunction)(time_t time, CalendarAlarm *which, void *closuse);
void alarm_init (void);
-void alarm_add (time_t alarm_time, AlarmFunction fn, void *closure);
+void alarm_add (CalendarAlarm *alarm, AlarmFunction fn, void *closure);
int alarm_kill (void *closure);
#endif
/www/p5-Dancer2/distinfo?id=b5ef1e984c6995143e5e946b5e14671e2c4ed964'>Update to 0.160000, and fix whitespace alignment.adamw2015-04-271-2/+2 * - Update to 0.159003sunpoet2015-03-241-2/+2 * - Update to 0.159002sunpoet2015-03-061-2/+2 * Update to 0.159001.adamw2015-02-261-2/+2 * Update to 0.159000.adamw2015-02-251-2/+2 * - Update to 0.158000wen2015-01-051-2/+2 * - Update to 0.157001wen2014-12-251-2/+2 * - Update to 0.156001wen2014-12-131-2/+2 * - Update to 0.155004wen2014-12-051-2/+2 * - Update to 0.153002wen2014-11-091-2/+2 * - Update to 0.151000wen2014-10-111-2/+2 * - Update to 0.150000wen2014-09-141-2/+2 * - Update to 0.141000wen2014-06-21