On 14.10.20 18:14, Franz Fasching via gtk-perl-list wrote:
Why is a "const guchar *" now expecting a GArray (array ref in Perl) with the G::O::I binding?
Because that's what the annotations tell it to. But you're right, we could still automatically accept strings as well. I just implemented this with <https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/commit/03977ba9ea6837a6c14d8426fb2217bbcc06ef84>. Please test.
BTW, trying to satisfy the Perl interpreter by invoking "$handle->write([$str])" yields: internal problem: GType CairoContext (94611185394944) has not been registered with GPerl at /usr/lib/x86_64-linux-gnu/perl5/5.30/Glib/Object/Introspection.pm line 67. Any hints what might be the culprit here?
Sounds like you need to use Cairo::GObject. -Torsten _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list