aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/cal-backend-imc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/pcs/cal-backend-imc.c b/calendar/pcs/cal-backend-imc.c
index 3c50078d12..46c8f0dba0 100644
--- a/calendar/pcs/cal-backend-imc.c
+++ b/calendar/pcs/cal-backend-imc.c
@@ -265,7 +265,7 @@ free_ical_object (gpointer key, gpointer value, gpointer data)
iCalObject *ico;
ico = value;
- ical_object_destroy (ico);
+ ical_object_unref (ico);
}
/* Destroys an IMC backend's data */
@@ -461,7 +461,7 @@ remove_object (CalBackendIMC *cbimc, iCalObject *ico)
*list = g_list_remove_link (*list, l);
g_list_free_1 (l);
- ical_object_destroy (ico);
+ ical_object_unref (ico);
}
/* Load a calendar from a VObject */