diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-12-12 19:36:05 +0000 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-12-12 19:47:02 +0000 |
commit | b74bc65d31e2d52eec4fb9ba2296b6ef64f40a72 (patch) | |
tree | a9781a482880eafd89f8027d68f40d72acea75d6 /gdata/gdata-service.c | |
parent | 1b5919570fb8b16c25ccc11204ab763f11d97003 (diff) | |
download | libgdata-b74bc65d31e2d52eec4fb9ba2296b6ef64f40a72.tar.gz |
core: Use correct relation URI for next/previous feed links
GDataLink enforces that all relations are proper URIs, prefixing
iana.org to those which aren’t — so we need to do the same when calling
gdata_feed_look_up_link().
https://bugzilla.gnome.org/show_bug.cgi?id=741345
Diffstat (limited to 'gdata/gdata-service.c')
-rw-r--r-- | gdata/gdata-service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c index 368e7000..f0effa84 100644 --- a/gdata/gdata-service.c +++ b/gdata/gdata-service.c @@ -991,10 +991,10 @@ __gdata_service_query (GDataService *self, GDataAuthorizationDomain *domain, con if (query != NULL && feed != NULL) { GDataLink *_link; - _link = gdata_feed_look_up_link (feed, "next"); + _link = gdata_feed_look_up_link (feed, "http://www.iana.org/assignments/relation/next"); if (_link != NULL) _gdata_query_set_next_uri (query, gdata_link_get_uri (_link)); - _link = gdata_feed_look_up_link (feed, "previous"); + _link = gdata_feed_look_up_link (feed, "http://www.iana.org/assignments/relation/previous"); if (_link != NULL) _gdata_query_set_previous_uri (query, gdata_link_get_uri (_link)); } |