[vala/staging] codegen: Set owner for ValaDestroyNotify (POSIX)
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] codegen: Set owner for ValaDestroyNotify (POSIX)
- Date: Fri, 11 Jan 2019 22:33:39 +0000 (UTC)
commit ef397d8b93a409cc68250692c61dd7b822f51712
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Jan 11 23:05:44 2019 +0100
codegen: Set owner for ValaDestroyNotify (POSIX)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/730
codegen/valaccodebasemodule.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index ae1ad0c2c..070489be1 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]