[gnome-todo] manager: fix GOA parent id



commit b578720fee0975225e60728a1d85aebad8833b4f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Aug 25 20:43:44 2015 -0300

    manager: fix GOA parent id
    
    It must be set to the GOA-related source, not the
    source itself.

 src/gtd-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-manager.c b/src/gtd-manager.c
index fee5d28..aa2d8e3 100644
--- a/src/gtd-manager.c
+++ b/src/gtd-manager.c
@@ -175,7 +175,7 @@ gtd_manager__setup_url (GtdManager *manager,
           /* Found an ESourceGoa with the same uid of storage */
           if (g_strcmp0 (e_source_goa_get_account_id (goa_ext), gtd_storage_get_id (GTD_STORAGE (storage))) 
== 0)
             {
-              gtd_storage_goa_set_parent (storage, e_source_get_uid (source));
+              gtd_storage_goa_set_parent (storage, e_source_get_uid (goa_source));
               break;
             }
         }


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