diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-10-14 00:16:16 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-10-17 23:37:13 -0300 |
commit | 1beb3c9cf3db11c7a43d70da4aca52b18f96495a (patch) | |
tree | ffd27f0e8f57f1a4cc8490d192a26bf62213f4d4 | |
parent | 1bb834e110a09a33936285127bb1dbc065ef45c3 (diff) | |
download | gnome-calendar-1beb3c9cf3db11c7a43d70da4aca52b18f96495a.tar.gz |
manager: Remove unnecessary comment
-rw-r--r-- | src/core/gcal-manager.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/gcal-manager.c b/src/core/gcal-manager.c index c5c54d36..c123603a 100644 --- a/src/core/gcal-manager.c +++ b/src/core/gcal-manager.c @@ -1061,20 +1061,13 @@ gcal_manager_update_event (GcalManager *self, if (mod == GCAL_RECURRENCE_MOD_ALL) e_cal_component_set_recurid (component, NULL); - /* - * While we're updating the event, we don't want the component - * to be destroyed, so take a reference of the component while - * we're performing the update on it. - */ - g_object_ref (component); - e_cal_client_modify_object (gcal_calendar_get_client (calendar), e_cal_component_get_icalcomponent (component), (ECalObjModType) mod, E_CAL_OPERATION_FLAG_NONE, NULL, on_event_updated, - component); + g_object_ref (component)); GCAL_EXIT; } |