[evolution-mapi] Bug #669226 - Crash when removing calendar component



commit e321b33301e0d532acfb105dd8916dc2007faf98
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 3 14:29:18 2012 +0100

    Bug #669226 - Crash when removing calendar component

 src/calendar/e-cal-backend-mapi.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-mapi.c b/src/calendar/e-cal-backend-mapi.c
index 22a2d70..c062fc5 100644
--- a/src/calendar/e-cal-backend-mapi.c
+++ b/src/calendar/e-cal-backend-mapi.c
@@ -1881,8 +1881,7 @@ ecbm_remove_object (ECalBackend *backend, EDataCal *cal, GCancellable *cancellab
 					ECalComponentId *id = e_cal_component_get_id (comp);
 
 					e_cal_backend_store_remove_component (priv->store, id->uid, id->rid);
-					if (!id->rid || !g_str_equal (id->rid, rid))
-						e_cal_backend_notify_component_removed (E_CAL_BACKEND (cbmapi), id, comp, NULL);
+					e_cal_backend_notify_component_removed (E_CAL_BACKEND (cbmapi), id, comp, NULL);
 					e_cal_component_free_id (id);
 
 					g_object_unref (comp);



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