Re: g_thread_init core dumps called before gtk_init (bug ?)
- From: Hugo Hallqvist <hugha495 student liu se>
- To: Tristan Van Berkom <vantr touchtunes com>
- Cc: thomas joseph <thomascanny yahoo co nz>, gtk-app-devel-list gnome org
- Subject: Re: g_thread_init core dumps called before gtk_init (bug ?)
- Date: Tue, 12 Nov 2002 16:23:27 +0100
----- Original Message -----
From: Tristan Van Berkom <vantr touchtunes com>
Date: Tuesday, November 12, 2002 3:58 pm
Subject: Re: g_thread_init core dumps called before gtk_init (bug ?)
This doesn't seem right:
gdk_threads_enter();
gtk_main();
gdk_threads_leave();
you're aquiring a lock before the main loop
so none of your calls to gdk_threads_enter()
should succeed untill gtk_main_quit();
It is correct. I use it in my own threaded gtk-programs, and also the documentation says so.
However I fail to see the error in the code, will come back about it.
//Hugo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]