diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-10-17 16:42:07 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-10-17 23:37:13 -0300 |
commit | e3c7a1d7771dd16dbc46d1b51de69dc940a6124e (patch) | |
tree | 5d8d9c998b7738e8a2f3fd77b32afe18d6c3ae05 /src | |
parent | 502b381975181407f6b1b4ee60a95be139e34784 (diff) | |
download | gnome-calendar-e3c7a1d7771dd16dbc46d1b51de69dc940a6124e.tar.gz |
core/manager: Remove old hack around recurrences
We handle it all before reaching GcalManager now.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/gcal-manager.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/gcal-manager.c b/src/core/gcal-manager.c index c123603a..a319649e 100644 --- a/src/core/gcal-manager.c +++ b/src/core/gcal-manager.c @@ -1052,15 +1052,6 @@ gcal_manager_update_event (GcalManager *self, calendar = gcal_event_get_calendar (event); component = gcal_event_get_component (event); - /* - * HACK: In Evolution Calendar, a NULL 'rid' is usually associated - * with an E_CAL_OBJ_MOD_ALL modtype. Here, we are manually setting - * the rid to NULL when modifying a recurrent event with MOD_ALL - * modtype. - */ - if (mod == GCAL_RECURRENCE_MOD_ALL) - e_cal_component_set_recurid (component, NULL); - e_cal_client_modify_object (gcal_calendar_get_client (calendar), e_cal_component_get_icalcomponent (component), (ECalObjModType) mod, |