Re: g_timeout_add_full from different thread not working

2010-02-22 Thread S Boucher
--- On Mon, 2/22/10, Michael Cronenworth wrote: > I don't see a call to g_thread_init() in your example. > You'll need that call prior to calling gtk_init(). That solved the problem! Thanks. __ Yahoo! Canada Toolbar: Searc

Re: g_timeout_add_full from different thread not working

2010-02-22 Thread Michael Cronenworth
On 02/22/2010 08:55 PM, S Boucher wrote: Calling g_timeout_add_full() from a different thread (note the pthread_create in the sample bellow) than where gtk_main() is does not work as I expect. The timeout function only gets called if I generate events by moving the mouse. If I don't move the

g_timeout_add_full from different thread not working

2010-02-22 Thread S Boucher
Calling g_timeout_add_full() from a different thread (note the pthread_create in the sample bellow) than where gtk_main() is does not work as I expect. The timeout function only gets called if I generate events by moving the mouse. If I don't move the mouse, all I see is the timeout is added re