[gobject-introspection/tintou/closure-destroy-fix: 3/4] Make annotation.c use the destroy and closure annotations the right way



commit c641c5fad6fca75c6b137dad618fcf56941f7c97
Author: Corentin Noël <corentin elementary io>
Date:   Thu Aug 1 07:37:07 2019 +0200

    Make annotation.c use the destroy and closure annotations the right way

 tests/scanner/annotation.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index fb8b48f4..a55166c2 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -714,7 +714,9 @@ regress_annotation_object_extra_annos (RegressAnnotationObject *object)
 
 /**
  * regress_annotation_custom_destroy:
- * @callback: (destroy destroy) (closure data): Destroy notification
+ * @callback: Destroy notification
+ * @destroy: (destroy callback):
+ * @data: (closure callback):
  *
  * Test messing up the heuristic of closure/destroy-notification
  * detection, and fixing it via annotations.


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