summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin@elementary.io>2019-08-01 07:37:07 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2019-08-07 19:35:08 +0000
commitc641c5fad6fca75c6b137dad618fcf56941f7c97 (patch)
tree8fd0b8d155d80b0fbd8152330a6355eecb0c62f8
parentc0c60dc2ef6210665f1609023ff1a44f8eae2b8c (diff)
downloadgobject-introspection-c641c5fad6fca75c6b137dad618fcf56941f7c97.tar.gz
Make annotation.c use the destroy and closure annotations the right way
-rw-r--r--tests/scanner/annotation.c4
1 files changed, 3 insertions, 1 deletions
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.