error when starting app
- From: Flatman <flatman swing be>
- To: gtk-perl-list gnome org
- Subject: error when starting app
- Date: Tue, 09 Aug 2005 09:23:31 +0200
Hi,
I wrote a little app with Gtk2 and Perl
I allways get this error when starting the app, however the app works
fine ...
GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'. at Helloworld.pl line 9.
GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed at Helloworld.pl
line 9.
Failed to load Pango module for id: 'BasicScriptEngineFc'
The code is :
use strict;
use Gtk2 '-init';
my $window = Gtk2::Window->new;
my $button = Gtk2::Button->new ('Hello World! I Quit');
$button->signal_connect (clicked => sub { Gtk2->main_quit} ) ;
$window->signal_connect (destroy => sub { Gtk2->main_quit} ) ;
$window->add ($button);
$window->show_all;
Gtk2->main;
any idea why I get this error ?
Thanks
Erik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]