Re: gperl_type_get_property() default on unichar prop
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: gperl_type_get_property() default on unichar prop
- Date: Wed, 24 Nov 2010 22:20:49 +0100
On 04.11.2008 00:23, Kevin Ryde wrote:
The program below gets a warning
Argument "\x{78}" isn't numeric in subroutine entry at foo.pl line 19.
I think it's because in get_default_property_value() the call out to
Glib::Param::Unichar::get_default_value() gives back a single-char
string 'x' but gperl_value_from_sv() used on that return expects a
number.
This is now fixed in git master by a patch from Kevin:
<http://git.gnome.org/browse/perl-Glib/commit/?id=9cfd1bd7bf>.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]