Re: Glade MenuBars cause errors




On Mar 17, 2005, at 7:05 PM, Jeff Trefftzs wrote:

The errors look like this:

Initializing glade ...
(knitit.pl:3999): Gnome-CRITICAL **: file gnome-program.c: line 739
(gnome_program_get_app_id): assertion `program != NULL' failed
...
What am I missing?

You're using libgnomeui widgets, but not calling Gnome2::Program->init (...) in your script.

This is mentioned in the FAQ in the Gtk2::GladeXML manpage, but the docs at http://gtk2-perl.sourceforge.net/doc/pod/ don't seem to have been updated yet.

--
"Quit hittin' yourself!  Quit hittin' yourself!"
   -- Elysse, playing with a newborn baby.




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