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:
parent
11a14de9f1
commit
15af14d933
@ -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:
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user