aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/calobj.h
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/cal-util/calobj.h
parent315fea41788c87515239ef8b9d26c7bdbd23d1d1 (diff)
downloadgsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.tar
gsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.tar.gz
gsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.tar.bz2
gsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.tar.lz
gsoc2013-evolution-ae33d3f67e77c5182dec21c388605b4a4ae48e51.tar.xz
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/cal-util/calobj.h')
-rw-r--r--calendar/cal-util/calobj.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h
index cf5483a228..f2e5dbe00c 100644
--- a/calendar/cal-util/calobj.h
+++ b/calendar/cal-util/calobj.h
@@ -231,15 +231,9 @@ typedef int (*calendarfn) (iCalObject *, time_t, time_t, void *);
iCalObject *ical_new (char *comment, char *organizer, char *summary);
iCalObject *ical_object_new (void);
-/* iCalObjects are created with a refcount of 1. When it drops to 0 it is
- destroyed with ical_object_destroy(). To maintain backwards compatability
- ical_object_destroy() can still be used, though code which uses it should
- not be mixed with code that uses refcounts. */
void ical_object_ref (iCalObject *ico);
void ical_object_unref (iCalObject *ico);
-void ical_object_destroy (iCalObject *ico);
-
iCalObject *ical_object_create_from_vobject (VObject *obj, const char *object_name);
VObject *ical_object_to_vobject (iCalObject *ical);
iCalObject *ical_object_duplicate (iCalObject *o);