Cross compilation error

2006-12-03 Thread Shyjumon N.
Hi group, This is a very basic question, if any body can help me i will be glad. I am using gtk for my ARM board, i am using eldk development suit and crosstools. Can any body tell me how can i cross compile gtk applications for arm target. Do i need to configure the gtk package and dependancie

Re: Attaching an event source to a GMainLoop in a thread

2006-12-03 Thread Braden McDaniel
On Sun, 2006-12-03 at 21:26 +, Chris Vine wrote: [snip] > Have you called g_thread_init() - the glib main loop is not thread safe > otherwise? Gah. That was it. Thanks. There was a time that I knew about this requirement; but when setting up this particular application, I forgot--and I had

Re: Attaching an event source to a GMainLoop in a thread

2006-12-03 Thread Chris Vine
On Sunday 03 December 2006 20:34, Braden McDaniel wrote: [snip] > On Sun, 2006-12-03 at 19:05 +, Chris Vine wrote: > > Wouldn't unreferencing main_context cause it to be freed? (And does > > g_main_loop_run() increement the reference count of main_loop? If not > > then unreferencing main_loop

Re: Attaching an event source to a GMainLoop in a thread

2006-12-03 Thread Braden McDaniel
On Sun, 2006-12-03 at 19:05 +, Chris Vine wrote: > On Sunday 03 December 2006 10:26, Braden McDaniel wrote: > > I have a GMainLoop that I want to run in its own thread. But I seem to b > > doing something horribly wrong with the event source I'm trying to > > attach to it (all as part of the sa

Re: Attaching an event source to a GMainLoop in a thread

2006-12-03 Thread Chris Vine
On Sunday 03 December 2006 10:26, Braden McDaniel wrote: > I have a GMainLoop that I want to run in its own thread. But I seem to b > doing something horribly wrong with the event source I'm trying to > attach to it (all as part of the same thread). My thread function > includes this code: > >

Attaching an event source to a GMainLoop in a thread

2006-12-03 Thread Braden McDaniel
I have a GMainLoop that I want to run in its own thread. But I seem to b doing something horribly wrong with the event source I'm trying to attach to it (all as part of the same thread). My thread function includes this code: GMainContext * main_context = g_main_context_new(); GMai