[nautilus/cherry-pick-068f0315-2] extension: Mark entry points as not introspectable



commit 0640d403d35b9d51092ae96b4647bf0b909eb1b2
Author: Aaron Jacobs <atheriel gmail com>
Date:   Sat Nov 27 21:40:28 2021 -0500

    extension: Mark entry points as not introspectable
    
    As pointed out by Emmanuele Bassi, these are not part of the ABI and
    should be marked with (skip).
    
    See: https://discourse.gnome.org/t/vala-bindings-for-an-unusual-c-ownership-function-signature/8184
    
    
    (cherry picked from commit 4309509d51767bed06a4a74f07d846d11a3912a8)

 libnautilus-extension/nautilus-extension.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libnautilus-extension/nautilus-extension.h b/libnautilus-extension/nautilus-extension.h
index f3e4e4bb8..894322eb9 100644
--- a/libnautilus-extension/nautilus-extension.h
+++ b/libnautilus-extension/nautilus-extension.h
@@ -35,7 +35,7 @@
  */
 
 /**
- * nautilus_module_initialize:
+ * nautilus_module_initialize: (skip)
  * @module: a #GTypeModule used in type registration
  *
  * Called when the extension is begin loaded to register the types it exports
@@ -43,13 +43,13 @@
  */
 void nautilus_module_initialize (GTypeModule  *module);
 /**
- * nautilus_module_shutdown:
+ * nautilus_module_shutdown: (skip)
  *
  * Called when the extension is being unloaded.
  */
 void nautilus_module_shutdown   (void);
 /**
- * nautilus_module_list_types:
+ * nautilus_module_list_types: (skip)
  * @types: (out) (transfer none) (array length=num_types): array of GType *
  * @num_types: the number of types in the array
  *


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