mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'fix-closure-annotations' into 'main'
Fix a couple of `closure` annotations See merge request GNOME/glib!3198
This commit is contained in:
commit
5d0db7f0b8
@ -3552,11 +3552,11 @@ g_desktop_app_info_launch (GAppInfo *appinfo,
|
||||
* @uris: (element-type utf8): List of URIs
|
||||
* @launch_context: (nullable): a #GAppLaunchContext
|
||||
* @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.
|
||||
* @user_setup_data: (closure user_setup) (nullable): User data for @user_setup
|
||||
* @pid_callback: (scope call) (nullable): Callback for child processes
|
||||
* @pid_callback_data: (closure pid_callback) (nullable): User data for @callback
|
||||
* @user_setup_data: User data for @user_setup
|
||||
* @pid_callback: (scope call) (nullable) (closure pid_callback_data): Callback for child processes
|
||||
* @pid_callback_data: User data for @callback
|
||||
* @stdin_fd: file descriptor to use for child's stdin, 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
|
||||
|
@ -3462,9 +3462,9 @@ file_copy_fallback (GFile *source,
|
||||
* @flags: set of #GFileCopyFlags
|
||||
* @cancellable: (nullable): optional #GCancellable object,
|
||||
* %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_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
|
||||
*
|
||||
* Copies the file @source to the location specified by @destination.
|
||||
@ -3670,9 +3670,9 @@ g_file_copy_finish (GFile *file,
|
||||
* @flags: set of #GFileCopyFlags
|
||||
* @cancellable: (nullable): optional #GCancellable object,
|
||||
* %NULL to ignore
|
||||
* @progress_callback: (nullable) (scope call): #GFileProgressCallback
|
||||
* @progress_callback: (nullable) (scope call) (closure progress_callback_data): #GFileProgressCallback
|
||||
* function for updates
|
||||
* @progress_callback_data: (closure): gpointer to user data for
|
||||
* @progress_callback_data: gpointer to user data for
|
||||
* the callback function
|
||||
* @error: #GError for returning error conditions, or %NULL
|
||||
*
|
||||
|
@ -678,7 +678,7 @@ g_subprocess_launcher_close (GSubprocessLauncher *self)
|
||||
/**
|
||||
* g_subprocess_launcher_set_child_setup: (skip)
|
||||
* @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
|
||||
* @destroy_notify: a #GDestroyNotify for @user_data
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user