[gnome-todo/wip/lists] storage: compare by provider type, not name



commit 87ea87ef7104bfe3fb17ddd1c76d354dd050abcb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jun 12 20:40:43 2015 -0300

    storage: compare by provider type, not name

 src/gtd-storage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-storage.c b/src/gtd-storage.c
index f024af8..bfcb759 100644
--- a/src/gtd-storage.c
+++ b/src/gtd-storage.c
@@ -623,7 +623,7 @@ gtd_storage_create_task_list (GtdStorage  *storage,
    * The only special case is "local" provider, which is treated
    * differently here.
    */
-  if (g_strcmp0 (priv->provider_name, "local") == 0)
+  if (g_strcmp0 (priv->provider, "local") == 0)
     {
       extension = e_source_get_extension (source, E_SOURCE_EXTENSION_TASK_LIST);
 


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