Calling gtk code from two different threads

2009-11-11 Thread Raja Mukherji
I have a problem where I have to call gtk code, including two gtk_main's, from two different threads and was wondering if there's any way to do that _without_ calling gdk_thread_enter/gdk_thread_leave. I'm writing a debugger for an interpreted language, using a gtk gui. The debugger works as a

Calling gtk code from two different threads

2009-11-10 Thread Raja Mukherji
I have a problem where I have to call gtk code, including two gtk_main's, from two different threads and was wondering if there's any way to do that _without_ calling gdk_thread_enter/gdk_thread_ leave. I'm writing a debugger for an interpreted language, using a gtk gui. The debugger works as