diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c index 35b7d5758..aca2eb570 100644 --- a/gio/gdesktopappinfo.c +++ b/gio/gdesktopappinfo.c @@ -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 diff --git a/glib/gspawn.h b/glib/gspawn.h index 6489f4a87..055743ea2 100644 --- a/glib/gspawn.h +++ b/glib/gspawn.h @@ -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