summaryrefslogtreecommitdiff
path: root/codegen/valagirwriter.vala
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2013-06-11 21:12:18 +0200
committerLuca Bruno <lucabru@src.gnome.org>2013-06-11 21:13:01 +0200
commitb079006443e87dfcca77fc669518bc6f28739dc6 (patch)
tree9786afd40878ef994659f62fb1963d9b667082f9 /codegen/valagirwriter.vala
parentf19bdecce83d6280f465f36822554f37f2614be3 (diff)
downloadvala-b079006443e87dfcca77fc669518bc6f28739dc6.tar.gz
girwriter: Add scope="notified" to owned delegates
Fixes bug 688012
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) {