[nautilus/cherry-pick-068f0315] 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] extension: Fix annotation for modules's type list
- Date: Tue, 11 Jan 2022 22:32:12 +0000 (UTC)
commit 2f2109f388e2594d056fa6c71911518c753f7baf
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]