diff options
author | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-02-08 21:06:24 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-02-08 21:06:24 +0800 |
commit | d21d923423231c70ddb674b2e6bd61b1f39675cf (patch) | |
tree | 8719db8d42b5614ef43e0612baf38e1dd4e30da2 /calendar/gui/alarm-notify/alarm-queue.c | |
parent | e081754bc2aef21109661dbde5b47282af7371a5 (diff) | |
download | gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.gz gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.bz2 gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.lz gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.xz 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-queue.c')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index c837a7d8f4..d97d49af96 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -290,8 +290,7 @@ remove_queued_alarm (CompQueuedAlarms *cqa, gpointer alarm_id, if (!l) return; - cqa->queued_alarms = g_slist_remove_link (cqa->queued_alarms, l); - g_slist_free_1 (l); + cqa->queued_alarms = g_slist_delete_link (cqa->queued_alarms, l); if (remove_alarm) { cqa->expecting_update = TRUE; @@ -981,12 +980,9 @@ open_alarm_dialog (TrayIconData *tray_data) if (alarm_notifications_dialog) { GtkTreeSelection *selection = NULL; - GtkTreeModel *model = NULL; selection = gtk_tree_view_get_selection ( GTK_TREE_VIEW (alarm_notifications_dialog->treeview)); - model = gtk_tree_view_get_model ( - GTK_TREE_VIEW(alarm_notifications_dialog->treeview)); tray_data->iter = add_alarm_to_notified_alarms_dialog ( alarm_notifications_dialog, |