From: Harish Krishnaswamy Date: Thu, 9 Feb 2006 06:12:05 +0000 (+0000) Subject: return ECalComponentId instead of id during a remove notify as per the X-Git-Tag: upstream/3.7.4~6520 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df0348b763d0579462072292f9feec80fb17c6c4;p=platform%2Fupstream%2Fevolution-data-server.git return ECalComponentId instead of id during a remove notify as per the 2006-02-09 Harish Krishnaswamy * backends/caldav/e-cal-backend-caldav.c: (synchronize_cache): return ECalComponentId instead of id during a remove notify as per the changed semantics in ecal. --- diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f57b4c9..a6759f4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2006-02-09 Harish Krishnaswamy + + * backends/caldav/e-cal-backend-caldav.c: (synchronize_cache): + return ECalComponentId instead of id during a remove notify + as per the changed semantics in ecal. + 2006-01-23 Veerapuram Varadhan ** Fixes #327427 diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c index 556e95d..7da0906 100644 --- a/calendar/backends/caldav/e-cal-backend-caldav.c +++ b/calendar/backends/caldav/e-cal-backend-caldav.c @@ -1228,9 +1228,11 @@ synchronize_cache (ECalBackendCalDAV *cbdav) if (e_cal_backend_cache_remove_component (bcache, uid, NULL) && priv->report_changes) { char *str = e_cal_component_get_as_string (comp); + ECalComponentId *id = e_cal_component_get_id (comp); e_cal_backend_notify_object_removed (E_CAL_BACKEND (cbdav), - uid, str, NULL); + id, str, NULL); + e_cal_component_free_id (id); g_free (str); }