Segmentation Fault with Gtk2
am 10.08.2005 15:10:05 von Guenther SohlerI have a problem with List Widgets in Gtk2-perl
I have simplified my program to this one.
But it still produces a segmentation fault on my sparc sun solaris 2.9
machine. Do i use it in a wrong way ?
#!/usr/bin/env perl
use Gtk2 '-init';
use strict;
my @list_items = ( new Gtk2::ListItem->new_with_label( "test" ) );
my $lst=new Gtk2::List();
$lst->append_items(@list_items);
my $window = new Gtk2::Window( "toplevel" );
$window->add( $lst ) ;
$window->show_all();
Gtk2->main;