manager: pass NULL as 'rid' when 'All Events' chosen

If user chooses 'All Events' option while deleting
a recurrent event, pass NULL as the 'rid' argument to
e_cal_client_remove_object().

https://bugzilla.gnome.org/show_bug.cgi?id=782755
This commit is contained in:
Yash Singh
2017-06-10 09:29:29 -03:00
committed by Georges Basile Stavracas Neto
parent 5a5dc6716a
commit e13bbcefe6
+1 -1
View File
@@ -1828,7 +1828,7 @@ gcal_manager_remove_event (GcalManager *manager,
e_cal_client_remove_object (unit->client,
uid,
rid,
mod == E_CAL_OBJ_MOD_ALL ? NULL : rid,
mod,
manager->async_ops,
on_event_removed,