[clutter] animator: Fix NULL check
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] animator: Fix NULL check
- Date: Thu, 15 Mar 2012 17:51:36 +0000 (UTC)
commit cbcc84022e3174e8cb3f0d08f93900666be8116d
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Mar 15 17:51:22 2012 +0000
animator: Fix NULL check
clutter/clutter-animator.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-animator.c b/clutter/clutter-animator.c
index 0b863bc..57af878 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]