summaryrefslogtreecommitdiff
path: root/gio/gproxy.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2010-12-29 13:51:44 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2010-12-29 16:02:23 +0100
commit975b0d4487809270100efce56270314d816e3073 (patch)
treef858ca8a1c0fd3282f50f6ff62ede9c1b5bec3d3 /gio/gproxy.c
parent571104bcc384c30054b507cab8e9d9a5f1166c45 (diff)
downloadglib-975b0d4487809270100efce56270314d816e3073.tar.gz
Add GI annotations to Gio lowlevel network support classes
Diffstat (limited to 'gio/gproxy.c')
-rw-r--r--gio/gproxy.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gio/gproxy.c b/gio/gproxy.c
index b40e23caa..d24e86eae 100644
--- a/gio/gproxy.c
+++ b/gio/gproxy.c
@@ -56,7 +56,8 @@ g_proxy_default_init (GProxyInterface *iface)
* Lookup "gio-proxy" extension point for a proxy implementation that supports
* specified protocol.
*
- * Return value: return a #GProxy or NULL if protocol is not supported.
+ * Return value: (transfer full): return a #GProxy or NULL if protocol
+ * is not supported.
*
* Since: 2.26
**/
@@ -84,7 +85,7 @@ g_proxy_get_default_for_protocol (const gchar *protocol)
* @proxy: a #GProxy
* @connection: a #GIOStream
* @proxy_address: a #GProxyAddress
- * @cancellable: a #GCancellable
+ * @cancellable: (allow-none): a #GCancellable
* @error: return #GError
*
* Given @connection to communicate with a proxy (eg, a
@@ -123,9 +124,9 @@ g_proxy_connect (GProxy *proxy,
* @proxy: a #GProxy
* @connection: a #GIOStream
* @proxy_address: a #GProxyAddress
- * @cancellable: a #GCancellable
- * @callback: a #GAsyncReadyCallback
- * @user_data: callback data
+ * @cancellable: (allow-none): a #GCancellable
+ * @callback: (scope async): a #GAsyncReadyCallback
+ * @user_data: (closure): callback data
*
* Asynchronous version of g_proxy_connect().
*