On Thu, 2007-12-13 at 13:58 +0100, Murray Cumming wrote:
> On Thu, 2007-12-13 at 13:54 +0200, Tommi Komulainen wrote:
> [snip stuff I'll do. thanks]
> > How is memory management for timelines meant to be done, i.e. when is
> > it safe to unref a timeline? (Just had a situation where I wanted to
> > make a fire and forget timeline and timeline_new(); start(); unref();
> > didn't actually complete the timeline.)
> 
> I guess that should be made clearer in the API reference too. You could
> unref it after the mainloop has stopped but in the real world you'd
> actually want to unref it when the timeline stops, which means handling
> its completed signal, which would be tedious.

So this is a question for the Clutter developers. Are we really meant to
connect to ClutterTimeline's "completed" signal just so we can unref the
timeline and any behaviours that are used by that timeline? This seems
to be necessary at the moment. Currently, unrefing either the timeline
or the behaviours before completion will stop the behaviour from
happening.

-- 
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to