[evolution-mapi] Bug #669226 - Crash when removing calendar component
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #669226 - Crash when removing calendar component
- Date: Fri, 3 Feb 2012 13:29:46 +0000 (UTC)
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]