summaryrefslogtreecommitdiff
path: root/codegen/valagirwriter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/valagirwriter.vala')
-rw-r--r--codegen/valagirwriter.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala
index 6f61af50d..073dd8a78 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -1215,7 +1215,7 @@ public class Vala.GIRWriter : CodeVisitor {
index + 1 : (type.value_owned ? index - 1 : index);
buffer.append_printf (" closure=\"%i\"", closure_index);
if (type.value_owned) {
- buffer.append_printf (" destroy=\"%i\"", closure_index + 1);
+ buffer.append_printf (" scope=\"notified\" destroy=\"%i\"", closure_index + 1);
}
if (delegate_type.is_called_once) {