[evolution-ews/gnome-3-34] I#70 - Fails to delete one instance of a recurring event



commit 92e756d61d1e339b7d20a3c7db1917ad813cdfd1
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 16 15:55:03 2019 +0200

    I#70 - Fails to delete one instance of a recurring event
    
    Closes https://gitlab.gnome.org/GNOME/evolution-ews/issues/70

 src/calendar/e-cal-backend-ews-utils.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews-utils.c b/src/calendar/e-cal-backend-ews-utils.c
index 4a2fa365..f0f09eec 100644
--- a/src/calendar/e-cal-backend-ews-utils.c
+++ b/src/calendar/e-cal-backend-ews-utils.c
@@ -2089,7 +2089,7 @@ e_cal_backend_ews_rid_to_index (ICalTimezone *timezone,
                return index;
 
        rrule = i_cal_property_get_rrule (prop);
-       if (rrule) {
+       if (!rrule) {
                g_object_unref (prop);
                return index;
        }
@@ -2110,7 +2110,6 @@ e_cal_backend_ews_rid_to_index (ICalTimezone *timezone,
        i_cal_time_set_timezone (o_time, timezone);
 
        ritr = i_cal_recur_iterator_new (rrule, dtstart);
-       next = i_cal_recur_iterator_next (ritr);
 
        for (next = i_cal_recur_iterator_next (ritr);
             next && !i_cal_time_is_null_time (next);


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