mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
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>
|
2008-04-30 Øyvind Kolås <pippin@o-hand.com>
|
||||||
|
|
||||||
* clutter/cogl/common/Makefile.am:
|
* clutter/cogl/common/Makefile.am:
|
||||||
|
@ -484,7 +484,6 @@ static void
|
|||||||
clutter_effect_closure_destroy (ClutterEffectClosure *c)
|
clutter_effect_closure_destroy (ClutterEffectClosure *c)
|
||||||
{
|
{
|
||||||
g_signal_handler_disconnect (c->timeline, c->signal_id);
|
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->actor);
|
||||||
g_object_unref (c->template);
|
g_object_unref (c->template);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user