diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2009-03-22 14:25:03 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2009-03-22 14:25:03 +0000 |
commit | b24819a5f0feb30bb92cefe8ec63746078383a3c (patch) | |
tree | c6a49238bdb2c378b7a1d450a2fc9edfd94c00dd /gdata/gdata-query.c | |
parent | c3b56e77b05a0f2ccd1f9854ae3d62b11f6c4d94 (diff) | |
download | libgdata-b24819a5f0feb30bb92cefe8ec63746078383a3c.tar.gz |
Fixed problems with the progress callback for entry parsing, ensuring
the total_results is the number of results which will actually be
retrieved, rather than the number of results available for the search
altogether; also ensuring that the callback's called with an equal
priority to the ready callback.
Diffstat (limited to 'gdata/gdata-query.c')
-rw-r--r-- | gdata/gdata-query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/gdata-query.c b/gdata/gdata-query.c index 6d655e56..af1ff8c5 100644 --- a/gdata/gdata-query.c +++ b/gdata/gdata-query.c @@ -337,9 +337,9 @@ gdata_query_get_query_uri (GDataQuery *self, const gchar *feed_uri) /* Check to see if we're paginating first */ if (priv->use_next_uri == TRUE) - return priv->next_uri; + return g_strdup (priv->next_uri); if (priv->use_previous_uri == TRUE) - return priv->previous_uri; + return g_strdup (priv->previous_uri); /* Check to see if any parameters have been set */ if ((priv->parameter_mask & GDATA_QUERY_PARAM_ALL) == 0) |