2008-04-30 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-effect.c:
	(clutter_effect_closure_destroy): Do not remove the actor
	from the behaviour; the behaviour is an internal detail of the
	effect, and it will remove the actors anyway when finalized
	when g_object_unref() is called. This should guard against
	actors being destroyed while an effect is running.
This commit is contained in:
Emmanuele Bassi 2008-04-30 16:27:18 +00:00
parent 11a14de9f1
commit 15af14d933
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2008-04-30 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-effect.c:
(clutter_effect_closure_destroy): Do not remove the actor
from the behaviour; the behaviour is an internal detail of the
effect, and it will remove the actors anyway when finalized
when g_object_unref() is called. This should guard against
actors being destroyed while an effect is running.
2008-04-30 Øyvind Kolås <pippin@o-hand.com>
* clutter/cogl/common/Makefile.am:

View File

@ -484,7 +484,6 @@ static void
clutter_effect_closure_destroy (ClutterEffectClosure *c)
{
g_signal_handler_disconnect (c->timeline, c->signal_id);
clutter_behaviour_remove (c->behave, c->actor);
g_object_unref (c->actor);
g_object_unref (c->template);