[glib] [gi] Add missing (allow-none) annotations to g_dbus_connection_register_object()
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] [gi] Add missing (allow-none) annotations to g_dbus_connection_register_object()
- Date: Tue, 9 Aug 2011 12:53:12 +0000 (UTC)
commit c783bfd4e7ebbfa258bce49e5381e2c2afe0110f
Author: Martin Pitt <martin pitt ubuntu com>
Date: Tue Aug 9 14:51:34 2011 +0200
[gi] Add missing (allow-none) annotations to g_dbus_connection_register_object()
gio/gdbusconnection.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index 0f47c77..978ad6a 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -3109,7 +3109,8 @@ is_signal_data_for_name_lost_or_acquired (SignalData *signal_data)
* @flags: Flags describing how to subscribe to the signal (currently unused).
* @callback: Callback to invoke when there is a signal matching the requested data.
* @user_data: User data to pass to @callback.
- * @user_data_free_func: Function to free @user_data with when subscription is removed or %NULL.
+ * @user_data_free_func: (allow-none): Function to free @user_data with when
+ * subscription is removed or %NULL.
*
* Subscribes to signals on @connection and invokes @callback with a
* whenever the signal is received. Note that @callback
@@ -4640,7 +4641,7 @@ obj_message_func (GDBusConnection *connection,
* @object_path: The object path to register at.
* @interface_info: Introspection data for the interface.
* @vtable: (allow-none): A #GDBusInterfaceVTable to call into or %NULL.
- * @user_data: Data to pass to functions in @vtable.
+ * @user_data: (allow-none): Data to pass to functions in @vtable.
* @user_data_free_func: Function to call when the object path is unregistered.
* @error: Return location for error or %NULL.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]