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



commit 776b1c19c4463ff1eaa766784eea94d1599a0829
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]