diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2013-06-11 21:12:18 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2013-06-11 21:13:01 +0200 |
commit | b079006443e87dfcca77fc669518bc6f28739dc6 (patch) | |
tree | 9786afd40878ef994659f62fb1963d9b667082f9 /codegen/valagirwriter.vala | |
parent | f19bdecce83d6280f465f36822554f37f2614be3 (diff) | |
download | vala-b079006443e87dfcca77fc669518bc6f28739dc6.tar.gz |
girwriter: Add scope="notified" to owned delegates
Fixes bug 688012
Diffstat (limited to 'codegen/valagirwriter.vala')
-rw-r--r-- | codegen/valagirwriter.vala | 2 |
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) { |