[libsoup] add a few missing introspection annotations
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] add a few missing introspection annotations
- Date: Fri, 20 Aug 2010 18:36:25 +0000 (UTC)
commit a989d643000f9b9c99eeaa79154e047ad48e6062
Author: Dan Winship <danw gnome org>
Date: Sun Nov 22 16:10:48 2009 -0500
add a few missing introspection annotations
libsoup/soup-address.c | 2 +-
libsoup/soup-misc.c | 16 ++++++++--------
libsoup/soup-password-manager.c | 2 +-
libsoup/soup-proxy-uri-resolver.c | 2 +-
4 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c
index 7e95240..2315cdc 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 9a9740b..e832c9a 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 1ee9260..5f629ee 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 bb86f18..155ba66 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]