Re: GTK Thread init problem

2007-04-17 Thread prabahar k
Hi Thanks Tristan for u r suggestion for using g_thread_create. Thanks James for u r nice code. Also If we want to retain the p_thread_create() in the program then its enough to change the compile time flags to include `pkg-config --cflags --libs gtk+-2.0 gthread-2.0` Its working fine. Here is

Re: GTK Thread init problem

2007-04-17 Thread James Scott Jr
On Tue, 2007-04-17 at 13:56 +0530, prabahar k wrote: Hi Thanks Tristan for u r suggestion for using g_thread_create. Thanks James for u r nice code. Also If we want to retain the p_thread_create() in the program then its enough to change the compile time flags to include `pkg-config

GTK Thread init problem

2007-04-16 Thread prabahar k
hi i am trying to use a threaded GTK program. While running the program it gives segmentation fault and it seem to be an thread init problem. is there any thing i am missing? Please give u r comments. the code is: /***gtk19.c**/ #include stdio.h

Re: GTK Thread init problem

2007-04-16 Thread Tristan Van Berkom
On Mon, 2007-04-16 at 18:09 +0530, prabahar k wrote: hi i am trying to use a threaded GTK program. While running the program it gives segmentation fault and it seem to be an thread init problem. is there any thing i am missing? Please give u r comments. I dont understand why it would

Re: GTK Thread init problem

2007-04-16 Thread James Scott Jr
On Mon, 2007-04-16 at 18:09 +0530, prabahar k wrote: hi i am trying to use a threaded GTK program. While running the program it gives segmentation fault and it seem to be an thread init problem. is there any thing i am missing? Please give u r comments. the code is: