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/gui | |
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/gui')
-rw-r--r-- | calendar/gui/calendar-conduit.c | 8 | ||||
-rw-r--r-- | calendar/gui/calendar-pilot-sync.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/calendar-conduit.c b/calendar/gui/calendar-conduit.c index 8aa0e23a3f..2cddd84186 100644 --- a/calendar/gui/calendar-conduit.c +++ b/calendar/gui/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; diff --git a/calendar/gui/calendar-pilot-sync.c b/calendar/gui/calendar-pilot-sync.c index 7378f796fd..98740a51f4 100644 --- a/calendar/gui/calendar-pilot-sync.c +++ b/calendar/gui/calendar-pilot-sync.c @@ -172,7 +172,7 @@ update_record (GNOME_Calendar_Repository repo, int id, struct Appointment *a, in if (obj->pilot_status == ICAL_PILOT_SYNC_MOD){ printf (_("\tObject has been modified on desktop and on the pilot, desktop takes precedence\n")); - ical_object_destroy (obj); + ical_object_unref (obj); return; } @@ -313,7 +313,7 @@ update_record (GNOME_Calendar_Repository repo, int id, struct Appointment *a, in /* * Shutdown */ - ical_object_destroy (obj); + ical_object_unref (obj); } /* |