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



commit 0173c7368338d939d25f13c57b7addb2e72766bb
Author: Punit Jain <jpunit novell com>
Date:   Tue May 17 20:39:02 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 e71cc40..d557461 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]