aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/alarm-notify/alarm.c')
-rw-r--r--calendar/gui/alarm-notify/alarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c
index 257be27ec5..c89b65ff5e 100644
--- a/calendar/gui/alarm-notify/alarm.c
+++ b/calendar/gui/alarm-notify/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.");