aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend-imc.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-06-07 02:15:57 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-06-07 02:15:57 +0800
commitae33d3f67e77c5182dec21c388605b4a4ae48e51 (patch)
treeee94ecd4d154c794b7ac1b8f58fcfe2cf0f17905 /calendar/pcs/cal-backend-imc.c
parent315fea41788c87515239ef8b9d26c7bdbd23d1d1 (diff)
downloadgsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.tar.gz
gsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.tar.zst
gsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.zip
Removed from the public header; made static. Now everyone should use
2000-06-06 Federico Mena Quintero <federico@helixcode.com> * 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
Diffstat (limited to 'calendar/pcs/cal-backend-imc.c')
-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 */