diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-06-07 02:15:57 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-06-07 02:15:57 +0800 |
commit | ae33d3f67e77c5182dec21c388605b4a4ae48e51 (patch) | |
tree | ee94ecd4d154c794b7ac1b8f58fcfe2cf0f17905 /calendar/conduits | |
parent | 315fea41788c87515239ef8b9d26c7bdbd23d1d1 (diff) | |
download | gsoc2013-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/conduits')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 8aa0e23a3f..2cddd84186 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -501,12 +501,12 @@ update_record (GnomePilotConduitStandardAbs *conduit, WARN (_("Error while communicating with calendar server")); show_exception(&(ctxt->ev)); CORBA_exception_free(&(ctxt->ev)); - ical_object_destroy (obj); + ical_object_unref (obj); free_Appointment(&a); return -1; } else { LOG ("Found"); - ical_object_destroy (obj); + ical_object_unref (obj); obj = ical_object_new_from_string (vcal_string); ical_from_remote_record(conduit,remote,obj); CORBA_free(vcal_string); @@ -519,7 +519,7 @@ update_record (GnomePilotConduitStandardAbs *conduit, /* * Shutdown */ - ical_object_destroy (obj); + ical_object_unref (obj); free_Appointment(&a); return 0; @@ -649,7 +649,7 @@ free_match (GnomePilotConduitStandardAbs *conduit, g_return_val_if_fail(local!=NULL,-1); g_return_val_if_fail(*local!=NULL,-1); - ical_object_destroy (GCAL_LOCALRECORD(*local)->ical); + ical_object_unref (GCAL_LOCALRECORD(*local)->ical); g_free(*local); *local = NULL; |