Commit a58041f9 authored by Christian Hergert's avatar Christian Hergert

animation: be less chatty about multiple stop calls

We can protect against this, since only the first call will drop the
internal reference.
parent ace2d7a1
......@@ -690,7 +690,9 @@ dzl_animation_stop (DzlAnimation *animation)
return;
g_return_if_fail (DZL_IS_ANIMATION (animation));
g_return_if_fail (animation->stop_called == FALSE);
if (animation->stop_called)
return;
animation->stop_called = TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment