From ae33d3f67e77c5182dec21c388605b4a4ae48e51 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 6 Jun 2000 18:15:57 +0000 Subject: Removed from the public header; made static. Now everyone should use 2000-06-06 Federico Mena Quintero * cal-util/calobj.c (ical_object_destroy): Removed from the public header; made static. Now everyone should use refcounting. * pcs/cal-backend-imc.c (free_ical_object): Use ical_object_unref(). (remove_object): Likewise. svn path=/trunk/; revision=3439 --- calendar/pcs/cal-backend-imc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/pcs') 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 */ -- cgit v1.2.3