[librest] Further annotation fixes



commit 47968195975875201e34f6e5659ca9b76ff21c07
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Nov 20 13:16:31 2013 +0000

    Further annotation fixes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712747

 rest/oauth-proxy.c     |    6 +++---
 rest/rest-proxy-call.c |   10 +++++-----
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]