diff options
author | Christian Hergert <chergert@redhat.com> | 2016-10-28 18:29:02 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2016-11-22 14:14:37 -0800 |
commit | 18a33f72db6a410606674d8d53fb2dadb706091d (patch) | |
tree | d12312302fad79c562f796d250ede4b58c2e0b01 /gio/gdbusinterface.c | |
parent | a4012abbdf2c6c095ae34a97dca760b2446436aa (diff) |
introspection: use (nullable) or (optional) instead of (allow-none)
If we have an input parameter (or return value) we need to use (nullable).
However, if it is an (inout) or (out) parameter, (optional) is sufficient.
It looks like (nullable) could be used for everything according to the
Annotation documentation, but (optional) is more specific.
Diffstat (limited to 'gio/gdbusinterface.c')
-rw-r--r-- | gio/gdbusinterface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdbusinterface.c b/gio/gdbusinterface.c index 4f1ce3f4a..65eb4e002 100644 --- a/gio/gdbusinterface.c +++ b/gio/gdbusinterface.c @@ -119,7 +119,7 @@ g_dbus_interface_dup_object (GDBusInterface *interface_) /** * g_dbus_interface_set_object: * @interface_: An exported D-Bus interface. - * @object: (allow-none): A #GDBusObject or %NULL. + * @object: (nullable): A #GDBusObject or %NULL. * * Sets the #GDBusObject for @interface_ to @object. * |