I send you the thread code. There is only this thread calling gtk, and for now no interactions between this thread the others parts of the program.
If your Gtk code works stand-alone, but doesn't work in a single thread of a multi-threaded app, then I can't see that you've got a Gtk-related problem. One possibility is that one of your other threads is crashing and over-writing Gtk data structures (remember, all the data is shared between the threads). If you've got a thread problem, 'comp.programming.threads' is the best place to start. I can't think of anything else, I'm afraid.
Evan