diff options
author | Denis Gorodnichev <[email protected]> | 2014-08-18 20:23:51 +0400 |
---|---|---|
committer | Denis Gorodnichev <[email protected]> | 2014-08-18 20:23:51 +0400 |
commit | c3e9737339c8b8beabd892d7040c564b5842d892 (patch) | |
tree | f99f5a2d68549f7b052cc4aa88f606f706b35fef /src/core | |
parent | f98f0f0f62a2655ea9bd3708ab78686337d2a68b (diff) | |
download | marco-c3e9737339c8b8beabd892d7040c564b5842d892.tar.bz2 marco-c3e9737339c8b8beabd892d7040c564b5842d892.tar.xz |
fix seqfault when animation is disabled
Diffstat (limited to 'src/core')
-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); |