[grilo-plugins] bookmarks: Fix thumbnail URL not getting saved



commit 734936dbe166526a1e2ebdc1ffebbab64b2216ee
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 14 19:30:36 2014 +0200

    bookmarks: Fix thumbnail URL not getting saved
    
    A cut'n'paste error meant that we saved the description instead of
    the thumbnail URL in that field.

 src/bookmarks/grl-bookmarks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/bookmarks/grl-bookmarks.c b/src/bookmarks/grl-bookmarks.c
index d2b4797..b6b49f6 100644
--- a/src/bookmarks/grl-bookmarks.c
+++ b/src/bookmarks/grl-bookmarks.c
@@ -718,7 +718,7 @@ store_bookmark (GrlBookmarksSource *bookmarks_source,
                               GRLKEYID_TO_POINTER (GRL_METADATA_KEY_DESCRIPTION));
   }
   if (thumb) {
-    g_object_set (G_OBJECT (resource), "thumbnail-url", desc, NULL);
+    g_object_set (G_OBJECT (resource), "thumbnail-url", thumb, NULL);
     *keylist = g_list_remove (*keylist,
                               GRLKEYID_TO_POINTER (GRL_METADATA_KEY_THUMBNAIL));
   }


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