[gnome-todo/wip/gbsneto/subtasks: 6/27] provider-eds: remove task list from internal storage



commit e65a1c9a1ba37424a154f5068bcf66f5c0454f33
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Jul 27 22:43:30 2016 -0300

    provider-eds: remove task list from internal storage

 plugins/eds/gtd-provider-eds.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/eds/gtd-provider-eds.c b/plugins/eds/gtd-provider-eds.c
index cfb8a64..17f00a3 100644
--- a/plugins/eds/gtd-provider-eds.c
+++ b/plugins/eds/gtd-provider-eds.c
@@ -280,6 +280,8 @@ gtd_provider_eds_remove_source (GtdProviderEds *provider,
   priv = gtd_provider_eds_get_instance_private (provider);
   list = g_object_get_data (G_OBJECT (source), "task-list");
 
+  priv->task_lists = g_list_remove (priv->task_lists, list);
+
   g_hash_table_remove (priv->clients, source);
 
   /* Since all subclasses will have this signal given that they


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]