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.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c
index 2765c25183..a19f363460 100644
--- a/calendar/gui/alarm-notify/alarm.c
+++ b/calendar/gui/alarm-notify/alarm.c
@@ -104,7 +104,9 @@ alarm_ready_cb (gpointer data)
ar_copy = *ar;
ar = &ar_copy;
- pop_alarm (); /* This will free the original AlarmRecord; that's why we copy it */
+ /* This will free the original AlarmRecord;
+ * that's why we copy it. */
+ pop_alarm ();
(* ar->alarm_fn) (notify_id, ar->trigger, ar->data);
@@ -260,7 +262,10 @@ alarm_remove (gpointer alarm)
if (old_head == ar) {
ar_copy = *ar;
ar = &ar_copy;
- pop_alarm (); /* This will free the original AlarmRecord; that's why we copy it */
+
+ /* This will free the original AlarmRecord;
+ * that's why we copy it. */
+ pop_alarm ();
} else {
alarms = g_list_delete_link (alarms, l);
}