[nautilus/cherry-pick-068f0315-2] extension: Fix annotation for modules's type list
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/cherry-pick-068f0315-2] extension: Fix annotation for modules's type list
- Date: Wed, 12 Jan 2022 00:58:37 +0000 (UTC)
commit 8f6d8d631b7897611467337d1c9349c4fc7e738d
Author: Aaron Jacobs <atheriel gmail com>
Date: Sat Nov 27 21:34:51 2021 -0500
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
(cherry picked from commit 068f0315bcc88bc3268580111e72aa27f3b1346f)
libnautilus-extension/nautilus-extension.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]