romgrk / node-gtk

GTK+ bindings for NodeJS (via GObject introspection)
MIT License
494 stars 41 forks source link

Fix cairo.region not accepted as argument #260

Closed romgrk closed 3 years ago

romgrk commented 3 years ago

Closes #251

I've noticed that Cairo Path, Rectangle & RectangleInt objects have different identities after we create our own bindings. This could create problems in some cases but I don't have enough time to investigate. For now, this PR merely skips the typechecking to fix the issue with Cairo.Region.