In chasing down some persistent bugs in my own code, I found the function gtk_object_check_cast in gtk/gtkobject.c to be insufficiently robust. Given it's a function that is supposed to warn you of all sorts of different casting problems, having it coredump on you isn't appreciated ;-) I basically inserted lots of checks for NULL pointers to help in tracking down errors. Deon Ramsey (Draco) ----------------------------------------------------------------------------- Deon Ramsey (general Librarygopher) may be reached as: Work: Private: dfkidok@dfki.uni-kl.de ramsey@rhrk.uni-kl.de WWW: Deon Ramsey Or via Snail-Mail: Deon Ramsey Koenigstr. 11 67655 Kaiserslautern Germany Program (Pro'-gram) n. A magic spell cast over a computer, causing it to turn one's input into error messages. There are many intelligent species in the Universe. They are all owned by cats. Be discreet, be polite, but be yourself. -- Per Aspera