g_thread_init SEGV
Hi, I have a program I wrote in GTK 2.0, it works great. But now I decided I want to add another thread to do a proccess in the background, however when I call g_thread_init(NULL), the programs exits with SEGV? Whats wrong?
I tried looking on google, and someone suggested calling gtk_init before g_thread_init, I tried this but it doesn't make any difference. Please help! |
Never mind. I was linking my program to gthread instead of gthread-2.0
:p :D |
All times are GMT -5. The time now is 09:11 AM. |