aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index 3f4b10aeaf..e510f1f1b1 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -14,8 +14,8 @@
#include <config.h>
#include <unistd.h>
-#include "alarm.h"
#include "calendar.h"
+#include "alarm.h"
#include "timeutil.h"
#include "../libversit/vcc.h"
@@ -42,7 +42,7 @@ try_add (iCalObject *ico, CalendarAlarm *alarm, time_t start, time_t end)
return;
if (alarm->trigger > calendar_day_end)
return;
- alarm_add (alarm->trigger, calendar_notify, ico);
+ alarm_add (alarm, &calendar_notify, ico);
}
static int