aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-task-shell-sidebar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-03 04:52:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-03 04:52:01 +0800
commitceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d (patch)
tree55a3020880ccdde5a4a53bb7649d4f3efc5e2de2 /modules/calendar/e-task-shell-sidebar.c
parent184ec36d35db3c2e0377a1845390070a23a7cf64 (diff)
downloadgsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar.gz
gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar.zst
gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.zip
Reduce diff noise with 'account-mgmt' branch.
One last time.
Diffstat (limited to 'modules/calendar/e-task-shell-sidebar.c')
-rw-r--r--modules/calendar/e-task-shell-sidebar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index 4667ae4ed6..3a9a09ad16 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -750,7 +750,8 @@ task_shell_sidebar_check_state (EShellSidebar *shell_sidebar)
client = g_hash_table_lookup (
task_shell_sidebar->priv->client_table,
e_source_get_uid (source));
- refresh_supported = client &&
+ refresh_supported =
+ client != NULL &&
e_client_check_refresh_supported (E_CLIENT (client));
g_object_unref (source);