Fix a couple of closure annotations

This commit is contained in:
Sebastian Dröge 2023-01-13 18:06:23 +02:00
parent d839282edb
commit 79fd6fd6a0
3 changed files with 9 additions and 9 deletions

View File

@ -3552,11 +3552,11 @@ g_desktop_app_info_launch (GAppInfo *appinfo,
* @uris: (element-type utf8): List of URIs * @uris: (element-type utf8): List of URIs
* @launch_context: (nullable): a #GAppLaunchContext * @launch_context: (nullable): a #GAppLaunchContext
* @spawn_flags: #GSpawnFlags, used for each process * @spawn_flags: #GSpawnFlags, used for each process
* @user_setup: (scope async) (nullable): a #GSpawnChildSetupFunc, used once * @user_setup: (scope async) (nullable) (closure user_setup_data): a #GSpawnChildSetupFunc, used once
* for each process. * for each process.
* @user_setup_data: (closure user_setup) (nullable): User data for @user_setup * @user_setup_data: User data for @user_setup
* @pid_callback: (scope call) (nullable): Callback for child processes * @pid_callback: (scope call) (nullable) (closure pid_callback_data): Callback for child processes
* @pid_callback_data: (closure pid_callback) (nullable): User data for @callback * @pid_callback_data: User data for @callback
* @stdin_fd: file descriptor to use for child's stdin, or -1 * @stdin_fd: file descriptor to use for child's stdin, or -1
* @stdout_fd: file descriptor to use for child's stdout, or -1 * @stdout_fd: file descriptor to use for child's stdout, or -1
* @stderr_fd: file descriptor to use for child's stderr, or -1 * @stderr_fd: file descriptor to use for child's stderr, or -1

View File

@ -3462,9 +3462,9 @@ file_copy_fallback (GFile *source,
* @flags: set of #GFileCopyFlags * @flags: set of #GFileCopyFlags
* @cancellable: (nullable): optional #GCancellable object, * @cancellable: (nullable): optional #GCancellable object,
* %NULL to ignore * %NULL to ignore
* @progress_callback: (nullable) (scope call): function to callback with * @progress_callback: (nullable) (scope call) (closure progress_callback_data): function to callback with
* progress information, or %NULL if progress information is not needed * progress information, or %NULL if progress information is not needed
* @progress_callback_data: (closure): user data to pass to @progress_callback * @progress_callback_data: user data to pass to @progress_callback
* @error: #GError to set on error, or %NULL * @error: #GError to set on error, or %NULL
* *
* Copies the file @source to the location specified by @destination. * Copies the file @source to the location specified by @destination.
@ -3670,9 +3670,9 @@ g_file_copy_finish (GFile *file,
* @flags: set of #GFileCopyFlags * @flags: set of #GFileCopyFlags
* @cancellable: (nullable): optional #GCancellable object, * @cancellable: (nullable): optional #GCancellable object,
* %NULL to ignore * %NULL to ignore
* @progress_callback: (nullable) (scope call): #GFileProgressCallback * @progress_callback: (nullable) (scope call) (closure progress_callback_data): #GFileProgressCallback
* function for updates * function for updates
* @progress_callback_data: (closure): gpointer to user data for * @progress_callback_data: gpointer to user data for
* the callback function * the callback function
* @error: #GError for returning error conditions, or %NULL * @error: #GError for returning error conditions, or %NULL
* *

View File

@ -678,7 +678,7 @@ g_subprocess_launcher_close (GSubprocessLauncher *self)
/** /**
* g_subprocess_launcher_set_child_setup: (skip) * g_subprocess_launcher_set_child_setup: (skip)
* @self: a #GSubprocessLauncher * @self: a #GSubprocessLauncher
* @child_setup: a #GSpawnChildSetupFunc to use as the child setup function * @child_setup: (closure user_data): a #GSpawnChildSetupFunc to use as the child setup function
* @user_data: user data for @child_setup * @user_data: user data for @child_setup
* @destroy_notify: a #GDestroyNotify for @user_data * @destroy_notify: a #GDestroyNotify for @user_data
* *