Tracking Gtk2 error messages



Hi All,

How do I determine which widget is the cause of errors such as this?

Gtk-CRITICAL **: IA__gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed

I'm using perl-gtk2 and gtkbuilder. It gives a line number but that's simply where I'm adding the xml file...

i.e. $builder->add_from_file ($filename))

which isn't particularly useful. Thanks.

--
Ian Chapman.


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