No need to unref the ClutterAlpha in the effect closure

The ownership of the ClutterAlpha object is transferred to the ClutterBehaviour
used by the effect; we just need to unref the behaviour to make the alpha
object disappear.
This commit is contained in:
Emmanuele Bassi 2007-08-19 17:06:54 +00:00
parent 72ad55f677
commit c8a0faab73

View File

@ -348,7 +348,6 @@ clutter_effect_closure_destroy (ClutterEffectClosure *c)
g_object_unref (c->actor);
g_object_unref (c->template);
g_object_unref (c->behave);
g_object_unref (c->alpha);
g_object_unref (c->timeline);
g_slice_free (ClutterEffectClosure, c);