[librest/wip/baedert/gtask2: 8/8] oauth-proxy: Add docs for request_token_finish



commit cbd0e5f75dd2348a79ee436f65f05bdf8edd43e5
Author: Timm Bäder <mail baedert org>
Date:   Thu Jul 14 18:23:57 2016 +0200

    oauth-proxy: Add docs for request_token_finish

 rest/oauth-proxy.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/rest/oauth-proxy.c b/rest/oauth-proxy.c
index ca0304a..f8c0053 100644
--- a/rest/oauth-proxy.c
+++ b/rest/oauth-proxy.c
@@ -390,6 +390,17 @@ oauth_proxy_request_token_async (OAuthProxy          *proxy,
   g_object_unref (call);
 }
 
+/**
+ * oauth_proxy_request_token_finish:
+ * @proxy: a #OAuthProxy
+ * @result: a #GAsyncResult
+ * @error: a #GError or %NULL
+ *
+ * Finishes an operation started with oauth_proxy_request_token_async()
+ *
+ * Returns: %TRUE on success, %FALSE if an error occurred, in which case
+ *   @error will be set.
+ */
 gboolean
 oauth_proxy_request_token_finish (OAuthProxy *proxy,
                                   GAsyncResult *result,


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