mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
Add missing allow-none annotations for function parameters.
Found using: find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
This commit is contained in:
@@ -587,10 +587,10 @@ g_dbus_object_manager_client_init (GDBusObjectManagerClient *manager)
|
||||
* @flags: Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
|
||||
* @name: The owner of the control object (unique or well-known name).
|
||||
* @object_path: The object path of the control object.
|
||||
* @get_proxy_type_func: A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_func: (allow-none): A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_user_data: User data to pass to @get_proxy_type_func.
|
||||
* @get_proxy_type_destroy_notify: (allow-none): Free function for @get_proxy_type_user_data or %NULL.
|
||||
* @cancellable: A #GCancellable or %NULL
|
||||
* @cancellable: (allow-none): A #GCancellable or %NULL
|
||||
* @error: Return location for error or %NULL.
|
||||
*
|
||||
* Creates a new #GDBusObjectManagerClient object.
|
||||
@@ -647,10 +647,10 @@ g_dbus_object_manager_client_new_sync (GDBusConnection *connection
|
||||
* @flags: Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
|
||||
* @name: The owner of the control object (unique or well-known name).
|
||||
* @object_path: The object path of the control object.
|
||||
* @get_proxy_type_func: A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_func: (allow-none): A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_user_data: User data to pass to @get_proxy_type_func.
|
||||
* @get_proxy_type_destroy_notify: (allow-none): Free function for @get_proxy_type_user_data or %NULL.
|
||||
* @cancellable: A #GCancellable or %NULL
|
||||
* @cancellable: (allow-none): A #GCancellable or %NULL
|
||||
* @callback: A #GAsyncReadyCallback to call when the request is satisfied.
|
||||
* @user_data: The data to pass to @callback.
|
||||
*
|
||||
@@ -739,10 +739,10 @@ g_dbus_object_manager_client_new_finish (GAsyncResult *res,
|
||||
* @flags: Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
|
||||
* @name: The owner of the control object (unique or well-known name).
|
||||
* @object_path: The object path of the control object.
|
||||
* @get_proxy_type_func: A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_func: (allow-none): A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_user_data: User data to pass to @get_proxy_type_func.
|
||||
* @get_proxy_type_destroy_notify: (allow-none): Free function for @get_proxy_type_user_data or %NULL.
|
||||
* @cancellable: A #GCancellable or %NULL
|
||||
* @cancellable: (allow-none): A #GCancellable or %NULL
|
||||
* @error: Return location for error or %NULL.
|
||||
*
|
||||
* Like g_dbus_object_manager_client_new_sync() but takes a #GBusType instead
|
||||
@@ -799,10 +799,10 @@ g_dbus_object_manager_client_new_for_bus_sync (GBusType bu
|
||||
* @flags: Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
|
||||
* @name: The owner of the control object (unique or well-known name).
|
||||
* @object_path: The object path of the control object.
|
||||
* @get_proxy_type_func: A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_func: (allow-none): A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
|
||||
* @get_proxy_type_user_data: User data to pass to @get_proxy_type_func.
|
||||
* @get_proxy_type_destroy_notify: (allow-none): Free function for @get_proxy_type_user_data or %NULL.
|
||||
* @cancellable: A #GCancellable or %NULL
|
||||
* @cancellable: (allow-none): A #GCancellable or %NULL
|
||||
* @callback: A #GAsyncReadyCallback to call when the request is satisfied.
|
||||
* @user_data: The data to pass to @callback.
|
||||
*
|
||||
|
Reference in New Issue
Block a user