return ECalComponentId instead of id during a remove notify as per the
authorHarish Krishnaswamy <kharish@novell.com>
Thu, 9 Feb 2006 06:12:05 +0000 (06:12 +0000)
committerHarish Krishnaswamy <kharish@src.gnome.org>
Thu, 9 Feb 2006 06:12:05 +0000 (06:12 +0000)
2006-02-09  Harish Krishnaswamy  <kharish@novell.com>

* 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.

calendar/ChangeLog
calendar/backends/caldav/e-cal-backend-caldav.c

index f57b4c9..a6759f4 100644 (file)
@@ -1,3 +1,9 @@
+2006-02-09  Harish Krishnaswamy  <kharish@novell.com>
+
+       * 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 <vvaradhan@novell.com>
  
        ** Fixes #327427
index 556e95d..7da0906 100644 (file)
@@ -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);
                }