[gnome-photos/wip/flickr: 2/7] source: The ID should match the encoding used in the miners



commit 69fd9e514d2e66d4f62a7df9214777792bde18d3
Author: Marek Chalupa <mchalupa redhat com>
Date:   Mon Jul 1 11:05:52 2013 +0200

    source: The ID should match the encoding used in the miners
    
    Fixes: https://bugzilla.gnome.org/697675

 src/photos-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-source.c b/src/photos-source.c
index de08266..b93f246 100644
--- a/src/photos-source.c
+++ b/src/photos-source.c
@@ -163,7 +163,7 @@ photos_source_set_property (GObject *object, guint prop_id, const GValue *value,
           break;
 
         account = goa_object_peek_account (object);
-        priv->id = goa_account_dup_id (account);
+        priv->id = g_strdup_printf ("gd:goa-account:%s", goa_account_get_id (account));
 
         provider_icon = goa_account_get_provider_icon (account);
         priv->icon = g_icon_new_for_string (provider_icon, NULL); /* TODO: use a GError */


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