Re: Xlib error on running GTK app
- From: "Kuang-Chun Cheng" <kcc1967 gmail com>
- To: gtk-list gnome org
- Subject: Re: Xlib error on running GTK app
- Date: Mon, 26 Mar 2007 15:06:59 +0800
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 <renuka kusurkar gmail com> 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
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]