2 <page id="Regress.annotation_custom_destroy"
5 xmlns="http://projectmallard.org/1.0/"
6 xmlns:api="http://projectmallard.org/experimental/api/"
7 xmlns:ui="http://projectmallard.org/1.0/ui/">
9 <link xref="index" group="function" type="guide"/>
12 <api:type>void</api:type>
14 <api:name>regress_annotation_custom_destroy</api:name>
16 <api:type>Regress.AnnotationCallback</api:type>
17 <api:name>callback</api:name>
21 <title>Regress.annotation_custom_destroy</title>
22 <synopsis><code mime="text/x-gjs">
23 function annotation_custom_destroy(callback: <link xref="Regress.AnnotationCallback">Regress.AnnotationCallback</link>): void {
24 // Gjs wrapper for regress_annotation_custom_destroy()
27 <p>Test messing up the heuristic of closure/destroy-notification
28 detection, and fixing it via annotations.</p>
32 <title><code>callback</code></title>
33 <p>Destroy notification</p>