aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@src.gnome.org>2006-02-08 21:06:24 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-02-08 21:06:24 +0800
commitd21d923423231c70ddb674b2e6bd61b1f39675cf (patch)
tree8719db8d42b5614ef43e0612baf38e1dd4e30da2 /calendar/gui/alarm-notify/alarm.c
parente081754bc2aef21109661dbde5b47282af7371a5 (diff)
downloadgsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.gz
gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.zst
gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.zip
broken pipes are soo fun
svn path=/trunk/; revision=31452
Diffstat (limited to 'calendar/gui/alarm-notify/alarm.c')
-rw-r--r--calendar/gui/alarm-notify/alarm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c
index d29ad3133a..1eb9d899b5 100644
--- a/calendar/gui/alarm-notify/alarm.c
+++ b/calendar/gui/alarm-notify/alarm.c
@@ -61,8 +61,7 @@ pop_alarm (void)
ar = alarms->data;
l = alarms;
- alarms = g_list_remove_link (alarms, l);
- g_list_free_1 (l);
+ alarms = g_list_delete_link (alarms, l);
g_free (ar);
}
@@ -246,8 +245,7 @@ alarm_remove (gpointer alarm)
ar = &ar_copy;
pop_alarm (); /* This will free the original AlarmRecord; that's why we copy it */
} else {
- alarms = g_list_remove_link (alarms, l);
- g_list_free_1 (l);
+ alarms = g_list_delete_link (alarms, l);
}
/* Reset the timeout */