[evolution-patches] fix for the bug 74227 [exchange calendar]



Hi,
 Have attached the fix for the bug.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.311
diff -u -p -r1.311 ChangeLog
--- ChangeLog	31 Mar 2005 04:54:12 -0000	1.311
+++ ChangeLog	31 Mar 2005 04:58:12 -0000
@@ -1,3 +1,9 @@
+2005-03-31  Chenthill Palanisamy  <pchenthill novell com>
+
+	Fixes #74227
+	* calendar/e-cal-backend-exchange-calendar.c: (remove_object):
+	Assign proper values to old_object and object.
+
 2005-03-29  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #73929
Index: calendar/e-cal-backend-exchange-calendar.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange-calendar.c,v
retrieving revision 1.41
diff -u -p -r1.41 e-cal-backend-exchange-calendar.c
--- calendar/e-cal-backend-exchange-calendar.c	31 Mar 2005 04:54:12 -0000	1.41
+++ calendar/e-cal-backend-exchange-calendar.c	31 Mar 2005 04:58:12 -0000
@@ -1208,7 +1208,7 @@ remove_object (ECalBackendSync *backend,
 	comp = e_cal_component_new ();
 	e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (ecomp->icomp));
 	if(object)
-		*object = e_cal_component_get_as_string (comp);
+		*old_object = e_cal_component_get_as_string (comp);
 	
 	switch (mod) {
 		
@@ -1223,6 +1223,7 @@ remove_object (ECalBackendSync *backend,
 						return GNOME_Evolution_Calendar_Success;
 				}
 			}
+			*object = NULL;
 			break;
 		case CALOBJ_MOD_THIS:
 			/*remove_instance and modify */


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