summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-10-14 17:30:36 (GMT)
committerBastien Nocera <hadess@hadess.net>2014-10-14 17:30:36 (GMT)
commit734936dbe166526a1e2ebdc1ffebbab64b2216ee (patch)
tree60e29fe1ebaeef4de3ab33dc46b30a25e8123b54
parentd7dddf084efe79653faba6b1fadfbba01999fa1a (diff)
downloadgrilo-plugins-734936dbe166526a1e2ebdc1ffebbab64b2216ee.zip
grilo-plugins-734936dbe166526a1e2ebdc1ffebbab64b2216ee.tar.xz
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.
-rw-r--r--src/bookmarks/grl-bookmarks.c2
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));
}