Re: GType GValue has not been registered with GPerl at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm



On 12.06.2018 05:17, gtk-perl-list TalkVideo net wrote:
Correction:

This Program:

        use strict;
        use warnings;

        use Gtk3 '-init';
        use Glib 'TRUE', 'FALSE';

        my @data = (TRUE, 42, '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] );o


Causes Signal SEGV at the last line.

Runs fine for me on Linux, so I don't know what's wrong. If I had to guess, I'd say it's because multiple library installations are getting mixed up on your machine, similarly to the other issue you reported.

Can anyone else reproduce the problem on Windows?

-Torsten


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