codegen: Don't emit g_type_add_instance_private() in *_register_type()cb669029dbd56e1d60586b39161f4948250c2f56
commitcb669029dbd56e1d60586b39161f4948250c2f56
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 13 Jul 2018 17:14:55 +0000 (13 19:14 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 13 Jul 2018 17:16:17 +0000 (13 19:16 +0200)
tree74d68603e9c6b4c16c14cd1f3151a3ae7ee10f5a
parentdf5f39c630de2f7ba0c7c28e1ba85f6d75bcf6de
codegen: Don't emit g_type_add_instance_private() in *_register_type()

This fixes warnings like "sys:1: Warning: cannot add private field to
invalid (non-instantiatable) type ..."

Regression of df56f916e52e5efe3876afed59a6190f6cead1c8
codegen/valatyperegisterfunction.vala