Fix up closure annotations for GSpawnChildSetupFunc

https://bugzilla.gnome.org/show_bug.cgi?id=738176
This commit is contained in:
Mikhail Zabaluev 2015-10-02 20:57:14 +03:00 committed by Philip Withnall
parent 3ee5bb1120
commit 48cf1d32c6
2 changed files with 2 additions and 2 deletions

View File

@ -3003,7 +3003,7 @@ 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 call) (nullable): a #GSpawnChildSetupFunc, used once
* @user_setup: (scope async) (nullable): 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

View File

@ -104,7 +104,7 @@ typedef enum
/**
* GSpawnChildSetupFunc:
* @user_data: user data to pass to the function.
* @user_data: (closure): user data to pass to the function.
*
* Specifies the type of the setup function passed to g_spawn_async(),
* g_spawn_sync() and g_spawn_async_with_pipes(), which can, in very