Re: g_thread_init core dumps called before gtk_init
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: thomas joseph <thomascanny yahoo co nz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: g_thread_init core dumps called before gtk_init
- Date: Wed, 13 Nov 2002 10:19:18 +0200
thomas joseph wrote:
Hi,
I have a gtk application, which calls g_thread_init.
It gives segmentation fault with the call and when I
comment it runs normally.
I am attaching the code below, Could you check what
is
wrong with this code. I have seen in the thread it
fails if you call g_thread_ini after gtk_init but not
this case.
Your prog has no gdk_threads_init() call. Just put it after
g_thread_init( NULL ) call.
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]