summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'rest/rest-proxy-call.c')
-rw-r--r--rest/rest-proxy-call.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index 22de07d..3339d47 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -1607,3 +1607,14 @@ rest_proxy_call_serialize_params (RestProxyCall *call,
return FALSE;
}
+
+G_GNUC_INTERNAL const char *
+rest_proxy_call_get_url (RestProxyCall *call)
+{
+ /* Ensure priv::url is current before returning it. This method is used
+ * by OAuthProxyCall::_prepare which expects set_url() to have been called,
+ * but this has been changed/broken by c66b6df
+ */
+ set_url(call);
+ return call->priv->url;
+}