summaryrefslogtreecommitdiff
path: root/gio/gdbusconnection.h
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2019-07-23 11:34:59 +0100
committerPhilip Withnall <withnall@endlessm.com>2019-07-23 11:34:59 +0100
commitb649946c00a6bb7fe8b8f04721459c7d9aa029ac (patch)
tree8713b7ca650bfc120a894b9902d2fe5cdeffdd52 /gio/gdbusconnection.h
parent8c5a14adf35841f9fb70a53ebbc342f7db01f6d7 (diff)
downloadglib-b649946c00a6bb7fe8b8f04721459c7d9aa029ac.tar.gz
gdbusconnection: Clarify nullability in a documentation comment
The comment previously said ‘never %NULL’, but it wasn’t clear whether this meant `(not nullable)` or `(not optional)`. From looking at the code, it means `(not optional)`. Clarify things by removing the prose. The annotations themselves should be clear and explicit enough. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #1836
Diffstat (limited to 'gio/gdbusconnection.h')
-rw-r--r--gio/gdbusconnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h
index c37363c0d..f7f08a3cc 100644
--- a/gio/gdbusconnection.h
+++ b/gio/gdbusconnection.h
@@ -489,7 +489,7 @@ typedef GDBusInterfaceInfo ** (*GDBusSubtreeIntrospectFunc) (GDBusConnection
* @object_path: The object path that was registered with g_dbus_connection_register_subtree().
* @interface_name: The D-Bus interface name that the method call or property access is for.
* @node: A node that is a child of @object_path (relative to @object_path) or %NULL for the root of the subtree.
- * @out_user_data: (nullable) (not optional): Return location for user data to pass to functions in the returned #GDBusInterfaceVTable (never %NULL).
+ * @out_user_data: (nullable) (not optional): Return location for user data to pass to functions in the returned #GDBusInterfaceVTable.
* @user_data: The @user_data #gpointer passed to g_dbus_connection_register_subtree().
*
* The type of the @dispatch function in #GDBusSubtreeVTable.