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:
parent
72ad55f677
commit
c8a0faab73
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user