summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Jacobs <atheriel@gmail.com>2021-11-27 21:34:51 -0500
committerAntónio Fernandes <antoniof@gnome.org>2021-11-28 13:10:14 +0000
commit068f0315bcc88bc3268580111e72aa27f3b1346f (patch)
tree631255cc98f3e79cc57165c0d53d80809d03901b
parent639eb6dd6115ae617bc4dc26d752060ef301e94e (diff)
downloadnautilus-068f0315bcc88bc3268580111e72aa27f3b1346f.tar.gz
extension: Fix annotation for modules's type list
As pointed out by Emmanuele Bassi, this should be transfer=none instead of the present transfer=full. See: https://discourse.gnome.org/t/vala-bindings-for-an-unusual-c-ownership-function-signature/8184
-rw-r--r--libnautilus-extension/nautilus-extension.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-extension/nautilus-extension.h b/libnautilus-extension/nautilus-extension.h
index 1c3ca5a9b..f3e4e4bb8 100644
--- a/libnautilus-extension/nautilus-extension.h
+++ b/libnautilus-extension/nautilus-extension.h
@@ -50,7 +50,7 @@ void nautilus_module_initialize (GTypeModule *module);
void nautilus_module_shutdown (void);
/**
* nautilus_module_list_types:
- * @types: (out) (array length=num_types): array of GType *
+ * @types: (out) (transfer none) (array length=num_types): array of GType *
* @num_types: the number of types in the array
*
* Called after the extension has been initialized and has registered all the