[gnome-todo/wip/goa-lists] manager: fix GOA parent id



commit 0be58b3335c9ccfcd67f2d4615e4e0ceb7ec83ae
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]