[glib: 2/3] Remove redundant explicit closure annotations
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/3] Remove redundant explicit closure annotations
- Date: Thu, 5 May 2022 08:59:19 +0000 (UTC)
commit 168ba785a122d0a23b4e88794cefcfa2c51d91c3
Author: TestingPlant <49836-TestingPlant users noreply gitlab gnome org>
Date: Thu May 5 02:49:19 2022 +0000
Remove redundant explicit closure annotations
Callbacks' user_data parameters are automatically marked as closures,
meaning there's no need to mark them as closures manually.
glib/gspawn.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gspawn.h b/glib/gspawn.h
index 3cad30765c..0bcadf4cdf 100644
--- a/glib/gspawn.h
+++ b/glib/gspawn.h
@@ -102,7 +102,7 @@ typedef enum
/**
* GSpawnChildSetupFunc:
- * @user_data: (closure): user data to pass to the function.
+ * @user_data: 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]