From cbcc84022e3174e8cb3f0d08f93900666be8116d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 15 Mar 2012 17:51:22 +0000 Subject: [PATCH] animator: Fix NULL check --- clutter/clutter-animator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-animator.c b/clutter/clutter-animator.c index 0b863bcf1..57af87809 100644 --- a/clutter/clutter-animator.c +++ b/clutter/clutter-animator.c @@ -1458,7 +1458,7 @@ again: g_hash_table_remove_all (priv->properties); /* if the animator is already running reinitialize internal iterators */ - if (clutter_timeline_is_playing (priv->timeline)) + if (priv->timeline != NULL && clutter_timeline_is_playing (priv->timeline)) animation_animator_started (priv->timeline, animator); }