Think I found another bug in gtk.
- From: Daniel Flemming <danflemming mac com>
- To: gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: Think I found another bug in gtk.
- Date: Fri, 20 Aug 2004 12:50:15 -0400 (EDT)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Happily, I need no sample code, as you guys already wrote some. :)
When I run the file_chooser.pl demo program, I get:
Gtk-CRITICAL **: file gtksettings.c: line 447
(gtk_settings_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
at /usr/share/doc/libgtk2-perl-doc/examples/file_chooser.pl line 23.
GLib-GObject-WARNING **: invalid (NULL) pointer instance at
/usr/share/doc/libgtk2-perl-doc/examples/file_chooser.pl line 23.
GLib-GObject-CRITICAL **: file gsignal.c: line 1726
(g_signal_handler_disconnect): assertion `G_TYPE_CHECK_INSTANCE
(instance)' failed at
/usr/share/doc/libgtk2-perl-doc/examples/file_chooser.pl line 23.
Incidentally, line 23 is:
my $file_chooser =
Gtk2::FileChooserDialog->new ('This is the spiffy new file chooser!',
undef, 'open',
'gtk-cancel' => 'cancel',
'gtk-ok' => 'ok');
I haven't tested yet to see if Gtk2::FileChooser objects are also
afflicted.
Incidentally, the widget works fine. So the errors are spurious?
I'm running the latest version of gtk2 in Debian unstable, to wit:
gtk2-perl 1.043 (compiled against gtk+ 2.4.2), gtk+ 2.4.4.
Is this bug possibly occurring because the gtk2-perl package is compiled
against a different version of gtk+ than the one that's installed? If
that's the case, then I should try and get the Debian package manager to
recompile gtk2-perl, I guess.
I actually found this bug a while back, and wrote a workaround (install a
$SIG{__WARN__} handler that ignores errors right before creating a new
FileChooserDialog), but forgot to report it.
- --
GnuPG public key available from
http://homepage.mac.com/danflemming/gnupg_key.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBJivVER493M5r4PIRArSVAJ9xsdNfqDzwCmoY5LzDxZ0PMVFZ2QCfRJVx
e3OURbN+Ut7W7xGnsrcLEGc=
=g0mx
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]