-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 23 Aug 2004, Jan Hudec wrote:
On Fri, Aug 20, 2004 at 12:50:15 -0400, Daniel Flemming wrote:-----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.Have you initialized gtk? This is the usual symptom of not initializing Gtk.
Yup. The code I'm using above is from the gtk demos, written by Muppet (or somebody) & distributed with gtk2-perl. And what's more, the code worked fine until about a month ago. Then it started producing the error. The demo program's attached. - -- GnuPG public key available from http://homepage.mac.com/danflemming/gnupg_key.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBKdmNER493M5r4PIRAl/8AJ98LtWVZeW62ZJOFSWS6h5w81GZswCgkwcN l9VHjVgLA/VfZJIo3PG0tic= =f03C -----END PGP SIGNATURE-----
Attachment:
file_chooser.pl
Description: Text document