diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-08-10 06:51:11 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-08-10 06:51:11 +0800 |
commit | d83e3ba3128794bf8b5fba06df9c550d56ef51ee (patch) | |
tree | eec23701ba250dd5244c07e1ef04542703809127 /calendar/gui/alarm.c | |
parent | eb23edd391e59e62a149446d0b0e8b1c345f1227 (diff) | |
download | gsoc2013-evolution-d83e3ba3128794bf8b5fba06df9c550d56ef51ee.tar.gz gsoc2013-evolution-d83e3ba3128794bf8b5fba06df9c550d56ef51ee.tar.zst gsoc2013-evolution-d83e3ba3128794bf8b5fba06df9c550d56ef51ee.zip |
Oops, subtract the new alarm's trigger time from the current time.
2000-08-09 Federico Mena Quintero <federico@helixcode.com>
* gui/alarm.c (pop_alarm): Oops, subtract the new alarm's trigger
time from the current time.
svn path=/trunk/; revision=4674
Diffstat (limited to 'calendar/gui/alarm.c')
-rw-r--r-- | calendar/gui/alarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/alarm.c b/calendar/gui/alarm.c index 257be27ec5..c89b65ff5e 100644 --- a/calendar/gui/alarm.c +++ b/calendar/gui/alarm.c @@ -97,7 +97,7 @@ pop_alarm (void) now = time (NULL); new_ar = alarms->data; - if (!setup_itimer (new_ar->trigger)) { + if (!setup_itimer (new_ar->trigger - now)) { g_message ("pop_alarm(): Could not reset the timer! " "Weird things will happen."); |