mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
[gi] Add missing allow-none annotations to Gio
This commit is contained in:
parent
abe5750540
commit
04969571bb
@ -659,7 +659,7 @@ g_dbus_proxy_get_cached_property (GDBusProxy *proxy,
|
|||||||
* g_dbus_proxy_set_cached_property:
|
* g_dbus_proxy_set_cached_property:
|
||||||
* @proxy: A #GDBusProxy
|
* @proxy: A #GDBusProxy
|
||||||
* @property_name: Property name.
|
* @property_name: Property name.
|
||||||
* @value: Value for the property or %NULL to remove it from the cache.
|
* @value: (allow-none): Value for the property or %NULL to remove it from the cache.
|
||||||
*
|
*
|
||||||
* If @value is not %NULL, sets the cached value for the property with
|
* If @value is not %NULL, sets the cached value for the property with
|
||||||
* name @property_name to the value in @value.
|
* name @property_name to the value in @value.
|
||||||
@ -1662,8 +1662,8 @@ initable_iface_init (GInitableIface *initable_iface)
|
|||||||
* g_dbus_proxy_new:
|
* g_dbus_proxy_new:
|
||||||
* @connection: A #GDBusConnection.
|
* @connection: A #GDBusConnection.
|
||||||
* @flags: Flags used when constructing the proxy.
|
* @flags: Flags used when constructing the proxy.
|
||||||
* @info: A #GDBusInterfaceInfo specifying the minimal interface that @proxy conforms to or %NULL.
|
* @info: (allow-none): A #GDBusInterfaceInfo specifying the minimal interface that @proxy conforms to or %NULL.
|
||||||
* @name: A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
|
* @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
|
||||||
* @object_path: An object path.
|
* @object_path: An object path.
|
||||||
* @interface_name: A D-Bus interface name.
|
* @interface_name: A D-Bus interface name.
|
||||||
* @cancellable: A #GCancellable or %NULL.
|
* @cancellable: A #GCancellable or %NULL.
|
||||||
@ -1832,7 +1832,7 @@ g_dbus_proxy_new_sync (GDBusConnection *connection,
|
|||||||
* g_dbus_proxy_new_for_bus:
|
* g_dbus_proxy_new_for_bus:
|
||||||
* @bus_type: A #GBusType.
|
* @bus_type: A #GBusType.
|
||||||
* @flags: Flags used when constructing the proxy.
|
* @flags: Flags used when constructing the proxy.
|
||||||
* @info: A #GDBusInterfaceInfo specifying the minimal interface that @proxy conforms to or %NULL.
|
* @info: (allow-none): A #GDBusInterfaceInfo specifying the minimal interface that @proxy conforms to or %NULL.
|
||||||
* @name: A bus name (well-known or unique).
|
* @name: A bus name (well-known or unique).
|
||||||
* @object_path: An object path.
|
* @object_path: An object path.
|
||||||
* @interface_name: A D-Bus interface name.
|
* @interface_name: A D-Bus interface name.
|
||||||
@ -1897,7 +1897,8 @@ g_dbus_proxy_new_for_bus_finish (GAsyncResult *res,
|
|||||||
* g_dbus_proxy_new_for_bus_sync:
|
* g_dbus_proxy_new_for_bus_sync:
|
||||||
* @bus_type: A #GBusType.
|
* @bus_type: A #GBusType.
|
||||||
* @flags: Flags used when constructing the proxy.
|
* @flags: Flags used when constructing the proxy.
|
||||||
* @info: A #GDBusInterfaceInfo specifying the minimal interface that @proxy conforms to or %NULL.
|
* @info: (allow-none): A #GDBusInterfaceInfo specifying the minimal interface
|
||||||
|
* that @proxy conforms to or %NULL.
|
||||||
* @name: A bus name (well-known or unique).
|
* @name: A bus name (well-known or unique).
|
||||||
* @object_path: An object path.
|
* @object_path: An object path.
|
||||||
* @interface_name: A D-Bus interface name.
|
* @interface_name: A D-Bus interface name.
|
||||||
@ -2124,7 +2125,7 @@ g_dbus_proxy_get_interface_info (GDBusProxy *proxy)
|
|||||||
/**
|
/**
|
||||||
* g_dbus_proxy_set_interface_info:
|
* g_dbus_proxy_set_interface_info:
|
||||||
* @proxy: A #GDBusProxy
|
* @proxy: A #GDBusProxy
|
||||||
* @info: Minimum interface this proxy conforms to or %NULL to unset.
|
* @info: (allow-none): Minimum interface this proxy conforms to or %NULL to unset.
|
||||||
*
|
*
|
||||||
* Ensure that interactions with @proxy conform to the given
|
* Ensure that interactions with @proxy conform to the given
|
||||||
* interface. For example, when completing a method call, if the type
|
* interface. For example, when completing a method call, if the type
|
||||||
@ -2262,7 +2263,7 @@ get_destination_for_call (GDBusProxy *proxy)
|
|||||||
* g_dbus_proxy_call:
|
* g_dbus_proxy_call:
|
||||||
* @proxy: A #GDBusProxy.
|
* @proxy: A #GDBusProxy.
|
||||||
* @method_name: Name of method to invoke.
|
* @method_name: Name of method to invoke.
|
||||||
* @parameters: A #GVariant tuple with parameters for the signal or %NULL if not passing parameters.
|
* @parameters: (allow-none): A #GVariant tuple with parameters for the signal or %NULL if not passing parameters.
|
||||||
* @flags: Flags from the #GDBusCallFlags enumeration.
|
* @flags: Flags from the #GDBusCallFlags enumeration.
|
||||||
* @timeout_msec: The timeout in milliseconds (with %G_MAXINT meaning
|
* @timeout_msec: The timeout in milliseconds (with %G_MAXINT meaning
|
||||||
* "infinite") or -1 to use the proxy default timeout.
|
* "infinite") or -1 to use the proxy default timeout.
|
||||||
@ -2430,7 +2431,8 @@ g_dbus_proxy_call_finish (GDBusProxy *proxy,
|
|||||||
* g_dbus_proxy_call_sync:
|
* g_dbus_proxy_call_sync:
|
||||||
* @proxy: A #GDBusProxy.
|
* @proxy: A #GDBusProxy.
|
||||||
* @method_name: Name of method to invoke.
|
* @method_name: Name of method to invoke.
|
||||||
* @parameters: A #GVariant tuple with parameters for the signal or %NULL if not passing parameters.
|
* @parameters: (allow-none): A #GVariant tuple with parameters for the signal
|
||||||
|
* or %NULL if not passing parameters.
|
||||||
* @flags: Flags from the #GDBusCallFlags enumeration.
|
* @flags: Flags from the #GDBusCallFlags enumeration.
|
||||||
* @timeout_msec: The timeout in milliseconds (with %G_MAXINT meaning
|
* @timeout_msec: The timeout in milliseconds (with %G_MAXINT meaning
|
||||||
* "infinite") or -1 to use the proxy default timeout.
|
* "infinite") or -1 to use the proxy default timeout.
|
||||||
|
Loading…
Reference in New Issue
Block a user