Gtk2-perl on win32 compilation errors



Hi all,
i am runing a Gtk2-perl application but when i try to compil it using pp i get this
 
Glib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `quark > 0 ` failed at script/coulage.pl line 19
 
Here is the code :
 
 

#!c:/perl/bin/perl -w

# Bibilothèques Standards;

use strict;

use Gtk2 'init';

# La Fenetre principale;

$MainRefs::mainWindow = Gtk2::Window->new('toplevel');

$MainRefs::mainWindow->signal_connect('delete_event',\&GlobalSubs::Quit);

$MainRefs::mainWindow->set_title("MDHM PRODUCTION");

$MainRefs::mainWindow->set_default_size(800,600);

$MainRefs::mainWindow->show_all();

Gtk2->main;

 

Thanks

Olivier



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