Re: thread error under gtk 2.0



Hi,

Matteo Frigerio <drhammerit yahoo it> writes:

> For an example if i make a thread that create some widget in a
> window i occurs in a sync error. Seem that gtk ignore
> gdk_thread_enter()/leave(). I apply the fix suggested in a previus
> mail (modify gdkwindow.c) but there is no change. There is a bug fix
> ? or i make an error in thread management?

yes, you forgot to enclose gtk_main() in a gdk_threads_enter/leave
pair.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]