diff options
author | Sander Sweers <[email protected]> | 2014-08-19 13:57:23 +0200 |
---|---|---|
committer | Sander Sweers <[email protected]> | 2014-08-19 13:57:23 +0200 |
commit | eba0559d55ccad074e8241c6f276e6e4442dd669 (patch) | |
tree | f99f5a2d68549f7b052cc4aa88f606f706b35fef | |
parent | f98f0f0f62a2655ea9bd3708ab78686337d2a68b (diff) | |
parent | c3e9737339c8b8beabd892d7040c564b5842d892 (diff) | |
download | marco-eba0559d55ccad074e8241c6f276e6e4442dd669.tar.bz2 marco-eba0559d55ccad074e8241c6f276e6e4442dd669.tar.xz |
Merge pull request #131 from dnk/effect_finished
fix seqfault when animation is disabled
-rw-r--r-- | src/core/effects.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/effects.c b/src/core/effects.c index 853d5ce9..469184e2 100644 --- a/src/core/effects.c +++ b/src/core/effects.c @@ -754,7 +754,8 @@ run_handler (MetaEffect *effect) } else { - effect->priv->finished(effect->priv->finished_data); + if (effect->priv->finished) + effect->priv->finished(effect->priv->finished_data); } effect_free (effect); |