Commit ef397d8b authored by Rico Tzschichholz's avatar Rico Tzschichholz

codegen: Set owner for ValaDestroyNotify (POSIX)

Fixes #730
parent 0fcdda74
......@@ -514,6 +514,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
destroy_notify = new Delegate ("ValaDestroyNotify", new VoidType ());
destroy_notify.add_parameter (new Parameter ("data", new PointerType (new VoidType ())));
destroy_notify.has_target = false;
destroy_notify.owner = root_symbol.scope;
delegate_target_destroy_type = new DelegateType (destroy_notify);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment