[evolution-patches] fix for the bug #324518 [calendar]



Hi,
  Have attached the fix for the bug. It removes the old items from the
cache.

thanks, Chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.544
diff -u -p -u -p -r1.544 ChangeLog
--- ChangeLog	6 Jan 2006 08:47:42 -0000	1.544
+++ ChangeLog	10 Jan 2006 06:42:26 -0000
@@ -1,3 +1,10 @@
+2006-01-10  Chenthill Palanisamy  <pchenthill novell com>
+
+
+	Fixes #324518
+	* backends/http/e-cal-backend-http.c:
+	(notify_and_remove_from_cache): Remove the items from the cache.
+
 2006-01-06  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #324741
Index: backends/http/e-cal-backend-http.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/http/e-cal-backend-http.c,v
retrieving revision 1.47
diff -u -p -u -p -r1.47 e-cal-backend-http.c
--- backends/http/e-cal-backend-http.c	6 Jan 2006 08:47:42 -0000	1.47
+++ backends/http/e-cal-backend-http.c	10 Jan 2006 06:42:26 -0000
@@ -210,6 +210,7 @@ notify_and_remove_from_cache (gpointer k
 	ECalComponent *comp = e_cal_component_new_from_string (calobj);
 	ECalComponentId *id = e_cal_component_get_id (comp);
 
+	e_cal_backend_cache_remove_component (cbhttp->priv->cache, id->uid, id->rid);
 	e_cal_backend_notify_object_removed (E_CAL_BACKEND (cbhttp), id, calobj, NULL);
 
 	e_cal_component_free_id (id);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]