[gnome-calendar] manager: fix remove source from ECalDataModel
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] manager: fix remove source from ECalDataModel
- Date: Thu, 4 Dec 2014 22:38:44 +0000 (UTC)
commit 68a427528c1af87b3718ba82acb8b09a0e172ef9
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Mon Oct 20 23:55:21 2014 -0400
manager: fix remove source from ECalDataModel
When a source is removed should be removed from the internal
ECalDataModel instance as well
src/gcal-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index 43ad387..a329209 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -289,9 +289,9 @@ remove_source (GcalManager *manager,
priv = gcal_manager_get_instance_private (manager);
+ e_cal_data_model_remove_client (priv->e_data_model,
+ e_source_get_uid (source));
g_hash_table_remove (priv->clients, source);
-
- /* FIXME: add remove source from ECalDataModel */
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]