Re: GType GString is not registered with gperl at Glib/Object/Introspection.pm



On Sun, Nov 6, 2011 at 21:44, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
On 06.11.2011 21:25, Emmanuel Rodriguez wrote:

*** unhandled exception in callback:
*** Â GType GString (156083704) is not registered with gperl at
/usr/local/lib/perl/5.12.4/Glib/Object/Introspection.pm line 57.
*** Âignoring at /usr/local/share/perl/5.12.4/Gtk3.pm line 104.

This comes from the code in Glib that handles boxed types. ÂIt turns out
that we don't have a boxed wrapper for G_TYPE_GSTRING. Â(To our defense,
this WebKit API is the first instance of GString occurring in an API that
I've seen.) ÂThe boxed wrapper would most likely be a very thin shell around
newSVpv and SvPV. ÂThe G_TYPE_STRV wrapper might serve as an example.

(this time with a *reply to all*, sorry Torsten for the spam)

I can add the box type to Gtk3::WebKit but shouldn't it be better to
add it to Glib?

What I don't get is that it was working fine previously. I was able to
do $data->{str} to access the content of the string.

-- 
Emmanuel Rodriguez



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]