[glib] Fix up closure annotations for GSpawnChildSetupFunc



commit 48cf1d32c67722b0d7161e6dcbb1acf02721876a
Author: Mikhail Zabaluev <mikhail zabaluev gmail com>
Date:   Fri Oct 2 20:57:14 2015 +0300

    Fix up closure annotations for GSpawnChildSetupFunc
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738176

 gio/gdesktopappinfo.c |    2 +-
 glib/gspawn.h         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 35b7d57..aca2eb5 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 6489f4a..055743e 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]