Re: thread error under gtk 2.0
- From: Sven Neumann <sven gimp org>
- To: Matteo Frigerio <drhammerit yahoo it>
- Cc: gtk-list gnome org
- Subject: Re: thread error under gtk 2.0
- Date: 21 Jun 2002 17:21:11 +0200
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]