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/calendar-pilot-sync.c | |
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/calendar-pilot-sync.c')
-rw-r--r-- | calendar/gui/calendar-pilot-sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } /* |