summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2013-11-20 13:16:31 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2014-03-10 16:58:42 +0000
commit47968195975875201e34f6e5659ca9b76ff21c07 (patch)
tree7763efd591b43ec76f36f64fda963e25c3095e81
parent0293ba332155621815bfc7af9f65d31f440109d2 (diff)
downloadlibrest-47968195975875201e34f6e5659ca9b76ff21c07.tar.gz
Further annotation fixes
https://bugzilla.gnome.org/show_bug.cgi?id=712747
-rw-r--r--rest/oauth-proxy.c6
-rw-r--r--rest/rest-proxy-call.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/rest/oauth-proxy.c b/rest/oauth-proxy.c
index 597bf8e..99148bc 100644
--- a/rest/oauth-proxy.c
+++ b/rest/oauth-proxy.c
@@ -317,7 +317,7 @@ auth_callback (RestProxyCall *call,
* oauth_proxy_auth_step_async:
* @proxy: an #OAuthProxy
* @function: the function to invoke on the proxy
- * @callback: the callback to invoke when authorisation is complete
+ * @callback: (scope async): the callback to invoke when authorisation is complete
* @weak_object: the #GObject to weakly reference and tie the lifecycle too
* @user_data: data to pass to @callback
* @error_out: a #GError, or %NULL
@@ -461,7 +461,7 @@ request_token_cb (RestProxyCall *call,
* @proxy: an #OAuthProxy
* @function: the function name to invoke
* @callback_uri: the callback URI
- * @callback: a #OAuthProxyAuthCallback to invoke on completion
+ * @callback: (scope async): a #OAuthProxyAuthCallback to invoke on completion
* @weak_object: #GObject to weakly reference and tie the lifecycle of the method call too
* @user_data: user data to pass to @callback
* @error: a #GError, or %NULL
@@ -578,7 +578,7 @@ access_token_cb (RestProxyCall *call,
* @proxy: an #OAuthProxy
* @function: the function name to invoke
* @verifier: the verifier
- * @callback: a #OAuthProxyAuthCallback to invoke on completion
+ * @callback: (scope async): a #OAuthProxyAuthCallback to invoke on completion
* @weak_object: #GObject to weakly reference and tie the lifecycle of the method call too
* @user_data: user data to pass to @callback
* @error: a #GError, or %NULL
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index a09629b..9e15aa3 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -1035,12 +1035,12 @@ _continuous_call_message_got_chunk_cb (SoupMessage *msg,
/**
- * rest_proxy_call_continuous:
+ * rest_proxy_call_continuous: (skip)
* @call: The #RestProxyCall
* @callback: a #RestProxyCallContinuousCallback to invoke when data is available
* @weak_object: The #GObject to weakly reference and tie the lifecycle to
- * @userdata: data to pass to @callback
- * @error: a #GError, or %NULL
+ * @userdata: (closure): data to pass to @callback
+ * @error: (out) (allow-none): a #GError, or %NULL
*
* Asynchronously invoke @call but expect a continuous stream of content. This
* means that the body data will not be accumulated and thus you cannot use
@@ -1173,8 +1173,8 @@ _upload_call_message_wrote_data_cb (SoupMessage *msg,
/**
* rest_proxy_call_upload:
* @call: The #RestProxyCall
- * @callback: a #RestProxyCallUploadCallback to invoke when a chunk of data was
- * uploaded
+ * @callback: (scope async): a #RestProxyCallUploadCallback to invoke when a chunk
+ * of data was uploaded
* @weak_object: The #GObject to weakly reference and tie the lifecycle to
* @userdata: data to pass to @callback
* @error: a #GError, or %NULL