hugopl/gi-crystal

Bad code generated for fundamental types not in GObject module

hugopl opened this issue · 0 comments

It's not possible to instantiate GSK render nodes:

In lib/libadwaita/lib/gi-crystal/src/auto/gsk-4.0/render_node.cr:34:18

 34 | LibGObject.gsk_render_node_ref(self) if transfer.none?
                 ^------------------
Error: undefined fun 'gsk_render_node_ref' for LibGObject

GSK objects also ref other things that must be only in GObject types.