[evolution-ews/gnome-3-20] Bug 634294 - Calendar factory crash under e-cal-recur



commit 42bcde065dddd5a72c149a7ed8a1f099cdb0fa1d
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jun 17 14:05:37 2016 +0200

    Bug 634294 - Calendar factory crash under e-cal-recur

 src/calendar/e-cal-backend-ews.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 02ba9cc..4e672c6 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -3261,10 +3261,6 @@ add_item_to_cache (ECalBackendEws *cbews,
                        if (start_zone != NULL) {
                                icalcomp = icalcomponent_get_first_component (vcomp, kind);
 
-                               icalcomponent_add_component (
-                                       vcomp,
-                                       icalcomponent_new_clone (icaltimezone_get_component (start_zone)));
-
                                dt = icalcomponent_get_dtstart (icalcomp);
                                dt = icaltime_convert_to_zone (dt, start_zone);
                                icalcomponent_set_dtstart (icalcomp, dt);
@@ -3307,8 +3303,6 @@ add_item_to_cache (ECalBackendEws *cbews,
                        if (zone != NULL) {
                                icalcomp = icalcomponent_get_first_component (vcomp, kind);
 
-                               icalcomponent_add_component (vcomp, icalcomponent_new_clone 
(icaltimezone_get_component (zone)));
-
                                dt = icalcomponent_get_dtstart (icalcomp);
                                dt = icaltime_convert_to_zone (dt, zone);
                                icalcomponent_set_dtstart (icalcomp, dt);


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