Re: [gtk-list] Re: cannot longjmp from g_log_set_handler function



There are probably quite a lot of languages around that use longjump
to throw errors. It's probably not possible to add support for it
easily in Glib, though.

I "solved" the problem in Pike GTK by _not_ throwing an error.
I just print a back-trace (with the gtk/glib/gdk error).

Most of the time this is enough to debug the errors, it's not possible
to catch them from your Pike GTK code, though.

-- 
Per Hedbor                                         http://per.hedbor.org/



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