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 707949 - TextIter's find_char methods & support for the unicode character type
TextIter's find_char methods & support for the unicode character type
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk3
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2013-09-12 03:15 UTC by Zach Morgan
Modified: 2013-09-25 19:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zach Morgan 2013-09-12 03:15:27 UTC
Hi. My issue was that TextIter's find_char methods weren't working because they use unichar types, which perl-gobject-introspection doesn't convert properly.

I added a couple lines to treat it as an int32, which seems to work. I also added tests in Gtk3 for forward_find_char & backward_find_char. It seems to work.

https://github.com/zpmorgan/perl-Gtk3/commit/101fba260d99e3ef1270278e3fa332de2957be24
https://github.com/zpmorgan/gi/commit/fcf90564255c9b870cea9fc2daa0c118091eaaaa

Thanks,
Zach Morgan
Comment 1 Torsten Schoenfeld 2013-09-25 19:39:28 UTC
Thanks for the patches.  I've now committed them with slight modifications.