summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-11-22 16:10:48 -0500
committerDan Winship <danw@gnome.org>2010-08-20 14:35:50 -0400
commita989d643000f9b9c99eeaa79154e047ad48e6062 (patch)
tree400a32b63a4bc0eea21fa03e33b7739fadc2a7e6
parente65f574d7eaf76e8eda71830a336b9adee6e06ef (diff)
downloadlibsoup-a989d643000f9b9c99eeaa79154e047ad48e6062.tar.gz
add a few missing introspection annotations
-rw-r--r--libsoup/soup-address.c2
-rw-r--r--libsoup/soup-misc.c16
-rw-r--r--libsoup/soup-password-manager.c2
-rw-r--r--libsoup/soup-proxy-uri-resolver.c2
4 files changed, 11 insertions, 11 deletions
diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c
index 7e952407..2315cdc2 100644
--- a/libsoup/soup-address.c
+++ b/libsoup/soup-address.c
@@ -720,7 +720,7 @@ idle_complete_resolve (gpointer addr)
/**
* soup_address_resolve_async:
* @addr: a #SoupAddress
- * @async_context: the #GMainContext to call @callback from
+ * @async_context: (allow-none): the #GMainContext to call @callback from
* @cancellable: a #GCancellable object, or %NULL
* @callback: (scope async): callback to call with the result
* @user_data: data for @callback
diff --git a/libsoup/soup-misc.c b/libsoup/soup-misc.c
index 9a9740b2..e832c9a1 100644
--- a/libsoup/soup-misc.c
+++ b/libsoup/soup-misc.c
@@ -58,8 +58,8 @@ soup_str_case_equal (gconstpointer v1,
/**
* soup_add_io_watch:
- * @async_context: the #GMainContext to dispatch the I/O watch in, or
- * %NULL for the default context
+ * @async_context: (allow-none): the #GMainContext to dispatch the I/O
+ * watch in, or %NULL for the default context
* @chan: the #GIOChannel to watch
* @condition: the condition to watch for
* @function: the callback to invoke when @condition occurs
@@ -85,8 +85,8 @@ soup_add_io_watch (GMainContext *async_context,
/**
* soup_add_idle:
- * @async_context: the #GMainContext to dispatch the idle event in, or
- * %NULL for the default context
+ * @async_context: (allow-none): the #GMainContext to dispatch the I/O
+ * watch in, or %NULL for the default context
* @function: the callback to invoke at idle time
* @data: user data to pass to @function
*
@@ -113,8 +113,8 @@ soup_add_idle (GMainContext *async_context,
/**
* soup_add_completion:
- * @async_context: the #GMainContext to dispatch the idle event in, or
- * %NULL for the default context
+ * @async_context: (allow-none): the #GMainContext to dispatch the I/O
+ * watch in, or %NULL for the default context
* @function: the callback to invoke
* @data: user data to pass to @function
*
@@ -141,8 +141,8 @@ soup_add_completion (GMainContext *async_context,
/**
* soup_add_timeout:
- * @async_context: the #GMainContext to dispatch the timeout in, or
- * %NULL for the default context
+ * @async_context: (allow-none): the #GMainContext to dispatch the I/O
+ * watch in, or %NULL for the default context
* @interval: the timeout interval, in milliseconds
* @function: the callback to invoke at timeout time
* @data: user data to pass to @function
diff --git a/libsoup/soup-password-manager.c b/libsoup/soup-password-manager.c
index 1ee9260e..5f629eeb 100644
--- a/libsoup/soup-password-manager.c
+++ b/libsoup/soup-password-manager.c
@@ -41,7 +41,7 @@ soup_password_manager_get_type (void)
* @msg: the #SoupMessage being authenticated
* @auth: the #SoupAuth being authenticated
* @retrying: whether or not this is a re-attempt to authenticate
- * @async_context: the #GMainContext to invoke @callback in
+ * @async_context: (allow-none): the #GMainContext to invoke @callback in
* @cancellable: a #GCancellable, or %NULL
* @callback: callback to invoke after fetching passwords
* @user_data: data for @callback
diff --git a/libsoup/soup-proxy-uri-resolver.c b/libsoup/soup-proxy-uri-resolver.c
index bb86f182..155ba665 100644
--- a/libsoup/soup-proxy-uri-resolver.c
+++ b/libsoup/soup-proxy-uri-resolver.c
@@ -46,7 +46,7 @@ soup_proxy_uri_resolver_get_type (void)
* soup_proxy_uri_resolver_get_proxy_uri_async:
* @proxy_uri_resolver: the #SoupProxyURIResolver
* @uri: the #SoupURI you want a proxy for
- * @async_context: the #GMainContext to invoke @callback in
+ * @async_context: (allow-none): the #GMainContext to invoke @callback in
* @cancellable: a #GCancellable, or %NULL
* @callback: callback to invoke with the proxy address
* @user_data: data for @callback