[evolution/gnome-3-36] I#1027 - Calendar: SEQUENCE not changed when modifying All Instances



commit 935869a144347c5e48f70fa20938fbb2718a1f19
Author: Milan Crha <mcrha redhat com>
Date:   Thu Aug 6 10:12:14 2020 +0200

    I#1027 - Calendar: SEQUENCE not changed when modifying All Instances
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1027

 src/calendar/gui/comp-util.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/calendar/gui/comp-util.c b/src/calendar/gui/comp-util.c
index d285bf9c21..68f2f8e254 100644
--- a/src/calendar/gui/comp-util.c
+++ b/src/calendar/gui/comp-util.c
@@ -785,7 +785,7 @@ comp_util_sanitize_recurrence_master_sync (ECalComponent *comp,
        if (rdt && sdt &&
            i_cal_time_compare_date_only (e_cal_component_datetime_get_value (rdt), 
e_cal_component_datetime_get_value (sdt)) == 0) {
                ECalComponentDateTime *msdt, *medt, *edt;
-               gint sequence, yy = 0, mm = 0, dd = 0;
+               gint yy = 0, mm = 0, dd = 0;
 
                msdt = e_cal_component_get_dtstart (master);
                medt = e_cal_component_get_dtend (master);
@@ -812,9 +812,6 @@ comp_util_sanitize_recurrence_master_sync (ECalComponent *comp,
                e_cal_component_set_dtstart (comp, sdt);
                e_cal_component_set_dtend (comp, edt);
 
-               sequence = e_cal_component_get_sequence (master);
-               e_cal_component_set_sequence (comp, sequence);
-
                e_cal_component_datetime_free (msdt);
                e_cal_component_datetime_free (medt);
                e_cal_component_datetime_free (edt);


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