[gnome-calendar] manager: pass NULL as 'rid' when 'All Events' chosen
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] manager: pass NULL as 'rid' when 'All Events' chosen
- Date: Sat, 10 Jun 2017 12:31:39 +0000 (UTC)
commit e13bbcefe60598afc8463f55fd488ef26adfea93
Author: Yash Singh <yashdev10p gmail com>
Date: Sat Jun 10 01:54:27 2017 +0530
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
src/gcal-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index 8724135..f3bfa68 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]