Glib functions are thread safe, but Gtk functions, AFAIK, are not thread
safe ... yet.
You need something like this:

gdk_threads_enter();
gtk_main();
gdk_threads_leave();

On 3/26/07, Renuka K <[EMAIL PROTECTED]> wrote:

Hi,
I am using a multi-threaded application in which my GUI thread is spawned
from the main thread.
the GUI comes up fine but any action by user hangs the application and
gives me an error::

Xlib: unexpected async reply (sequence 0x626)!


Can anybody please help me out with this?

Thanks and Regards
Renuka Kusurkar

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to