[evolution-exchange] bug #648612 crash during drag & drop of recurring events



commit 733fd7d6dd25f28ccea19f953cce4851224c2ffd
Author: Punit Jain <jpunit novell com>
Date:   Tue May 17 20:37:06 2011 +0530

    bug #648612 crash during drag & drop of recurring events

 calendar/e-cal-backend-exchange-calendar.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/calendar/e-cal-backend-exchange-calendar.c b/calendar/e-cal-backend-exchange-calendar.c
index 2c7ecc2..5da490a 100644
--- a/calendar/e-cal-backend-exchange-calendar.c
+++ b/calendar/e-cal-backend-exchange-calendar.c
@@ -1394,8 +1394,12 @@ modify_object_with_href (ECalBackendSync *backend, EDataCal *cal,
 	   the server, so that we don't lose any detached instances */
 	if (ecomp->icomp && mod == CALOBJ_MOD_THIS && remove) {
 		icalcomponent_add_component (cbdata->vcal_comp, icalcomponent_new_clone (ecomp->icomp));
-	} else if (!remove && mod == CALOBJ_MOD_THIS)
+	}
+
+	if (!remove && mod == CALOBJ_MOD_THIS) {
+		icalcomponent_add_component (cbdata->vcal_comp, icalcomponent_new_clone (ecomp->icomp));
 		icalcomponent_add_component (cbdata->vcal_comp, real_icalcomp);
+	}
 
 	for (l = ecomp->instances; l != NULL; l = l->next) {
 		icalcomponent *icomp = l->data;



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