After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679015 - GType GError (33836544) is not registered with gperl at ...
GType GError (33836544) is not registered with gperl at ...
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Glib
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2012-06-27 22:25 UTC by Sven-Haegar Koch
Modified: 2012-07-07 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch handling G_TYPE_ERROR for GBoxed.xs (1.46 KB, patch)
2012-06-27 22:27 UTC, Sven-Haegar Koch
committed Details | Review

Description Sven-Haegar Koch 2012-06-27 22:25:50 UTC
hello,

perl-Glib 1.260

When webkit 1.8.1 (using Gtk2::Webkit) fires the "load-error" signal an error in the following form occures:

GType GError (33836544) is not registered with gperl at ...

Based on the solution to an older bug with nearly the same message but about GString (Git commit 48b604cc1) I created the attached patch to GBoxed.xs, which fixes the problem for me, now I get a nice Glib::Error object reference in my signal handler, the needed/used conversion functions are already provided by GError.xs.

Greetings
Haegar
Comment 1 Sven-Haegar Koch 2012-06-27 22:27:09 UTC
Created attachment 217464 [details] [review]
Patch handling G_TYPE_ERROR for GBoxed.xs
Comment 2 Torsten Schoenfeld 2012-07-07 13:00:27 UTC
Looks good.  Committed together with a small test case.  Thanks.