Thank you Michael for your response. What was confusing to me was that I was not directly using X but Gtk. But I am using g_thread_init() and g_thread_create(). I am assuming that g_thread_init() calls XInitThreads() so your answer is very helpful. Thanks again, -Andres > Every time I see this it's because I've called a multi-threaded > library that requires XInitThreads() to be called. This needs to be > called before all other X functions. > > Hope that helps. > > Thanks, > > Michael > >> On 28/11/2007, Andres Gonzalez <gonzo@xxxxxxxxxxxxx> wrote: >> Hi, >> >> I get the following error message when displaying a dialog. Any ideas >> as to what is causing it? >> >> Xlib: unexpected async reply (sequence 0x6cb) >> >> Thanks, >> >> -Andres _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list