summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorJoaquín Ignacio Aramendía <[email protected]>2014-06-25 23:21:28 -0300
committerJoaquín Ignacio Aramendía <[email protected]>2014-06-26 20:26:23 -0300
commit5b415150cf3676ee95e1da7d5a29093cd20e6c4e (patch)
treecfa21e7fb23d1974bc660c5e1d363049923470ca /src/core
parent12e9874307e73f613036ad8f370bc05650c84298 (diff)
downloadmarco-5b415150cf3676ee95e1da7d5a29093cd20e6c4e.tar.bz2
marco-5b415150cf3676ee95e1da7d5a29093cd20e6c4e.tar.xz
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.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/effects.c6
1 files changed, 1 insertions, 5 deletions
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);
}