codegen: Fix GDestroyNotify of delegate parameters in delegate declaration
commit300a2985d30b577c8baf70fe068f997e7d7013b1
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 6 Feb 2018 16:52:55 +0000 (6 17:52 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 9 Feb 2018 13:53:09 +0000 (9 14:53 +0100)
tree44b184000a89fa213ad36ab9024b9bb6cabf5f69
parent5d812a27a584a45b7a7a54a8f29fa56a06943cad
codegen: Fix GDestroyNotify of delegate parameters in delegate declaration

delegate void Func (owned Func func);

incompatible pointer type: expected ‘void (**)(void *)’ but argument is
of type ‘GDestroyNotify {aka void (*)(void *)}’

https://bugzilla.gnome.org/show_bug.cgi?id=639059
codegen/valaccodedelegatemodule.vala