Whenever I run a program to put something into a ListStore, I get the error below:
internal problem: GType GValue (68374864) has not been registered with GPerl at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 1329. For Example: This Simple Program Will Trigger The Error: use strict; use warnings; use Gtk3 '-init'; use Glib 'TRUE', 'FALSE'; my @data = (TRUE, 42, 'Data...'); create_liststore_with_data(); sub create_liststore_with_data { my $lstore = Gtk3::ListStore->new('Glib::Boolean', 'Glib::Uint', 'Glib::String'); my $iter = $lstore->append(); $lstore->insert_with_values( $iter, 0, $data[0], 1, $data[1], 2, $data[2] ); } Adding The Following Line to The BOOT: Section of Glib/GBoxed.xs: gperl_register_boxed (G_TYPE_VALUE, "Glib::Value", &gperl_value_from_sv); Seems to fix it. Patch needed? Thanks. System is MSYS2 / MinGW64 updated via pacman, as of this date. Perl Module Version Info: Glib 1.327 Glib::Object::Introspection 0.045 Cairo 1.106 Cairo::GObject 1.004 Pango 1.227 Gtk2 1.24992 Gtk3 0.034 _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list