aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-07-20 23:25:16 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-26 09:30:01 +0800
commit0d51f6658348f8a8c33326f5ad11dad76d6d1642 (patch)
treefcb4c62a9f4afb45e96b2f28f6ed3a5d26a9a60b /mail/message-list.c
parent6b263851cac1e88e0c59fe6424da6f2f5d13e9f5 (diff)
downloadgsoc2013-evolution-0d51f6658348f8a8c33326f5ad11dad76d6d1642.tar.gz
gsoc2013-evolution-0d51f6658348f8a8c33326f5ad11dad76d6d1642.tar.zst
gsoc2013-evolution-0d51f6658348f8a8c33326f5ad11dad76d6d1642.zip
Make clutter mode even more appealing.
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index f19754a1fe..96d2a68cbe 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -4198,8 +4198,9 @@ message_list_set_search (MessageList *ml, const gchar *search)
ml->thread_tree = NULL;
}
-#if HAVE_CLUTTER
- clutter_timeline_start (ml->priv->timeline);
+#if HAVE_CLUTTER
+ if (ml->priv->timeline)
+ clutter_timeline_start (ml->priv->timeline);
#endif
if (ml->frozen == 0)
@@ -4653,7 +4654,7 @@ regen_list_done (struct _regen_list_msg *m)
m->ml->priv->any_row_changed = FALSE;
#if HAVE_CLUTTER
- if (clutter_timeline_is_playing(m->ml->priv->timeline)) {
+ if (m->ml->priv->timeline && clutter_timeline_is_playing(m->ml->priv->timeline)) {
clutter_timeline_stop (m->ml->priv->timeline);
} else {
ClutterActor *pane = g_object_get_data ((GObject *)m->ml, "actor");