From 5b415150cf3676ee95e1da7d5a29093cd20e6c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= Date: Wed, 25 Jun 2014 23:21:28 -0300 Subject: Remove misleading comment in effect_free function The new behaviour is the animation callback function should run the finished function once it's done with the animation. --- src/core/effects.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/core/effects.c') diff --git a/src/core/effects.c b/src/core/effects.c index 5d0d24a6..853d5ce9 100644 --- a/src/core/effects.c +++ b/src/core/effects.c @@ -179,17 +179,13 @@ create_effect (MetaEffectType type, } /** - * Destroys an effect. If the effect has a "finished" hook, it will be - * called before cleanup. + * Destroys an effect. * * \param effect The effect. */ static void effect_free (MetaEffect *effect) { - /*if (effect->priv->finished) - effect->priv->finished (effect->priv->finished_data);*/ - g_free (effect->priv); g_free (effect); } -- cgit v1.2.1