Re: glib+orbit

On 9 Jan 2000, Owen Taylor wrote:

> writes:
> > I am trying to get a g_timeout to work with orbit. I have looked through
> > the gconf code, and kinda figured out to do it, but it seems very genaric.
> > why is this code not in orbit itself?
> > 
> > also, a GMainLoop question.
> > in gconfd, the global var main_loops is defined. Why does it exist? I
> > spent the last few hours trying to figure out how GMainLoop works (there
> > is like no dox on it), and it looks like there can only ever be one main
> > loop, so why does main_loops exist? (or was this code copied out of gtk,
> > the only other place I could find it?)

I read that already. desnt say anything but how to create a new main loop.
(doesnt mention that there is only one ever really created). I had to go
through the glib cvs tree with lxr (great little tool btw) and trace half
a duzzen functions to find out how it worked. wasnt pritty. :)

Thanks though. I got it to work like I wanted about 10 min ago. :)

> Regards,
>                                         Owen

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]