aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-26 04:18:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-26 04:47:51 +0800
commit3fa4dfc54dd08d75076d4881207bdc45c3ee29ee (patch)
treeab03a20fd4febb44c34d7f09092af3edbce8f1cb /modules
parent60c5c7170f5642a78a4fd2092e4e78caae8475d6 (diff)
downloadgsoc2013-evolution-3fa4dfc54dd08d75076d4881207bdc45c3ee29ee.tar
gsoc2013-evolution-3fa4dfc54dd08d75076d4881207bdc45c3ee29ee.tar.gz
gsoc2013-evolution-3fa4dfc54dd08d75076d4881207bdc45c3ee29ee.tar.bz2
gsoc2013-evolution-3fa4dfc54dd08d75076d4881207bdc45c3ee29ee.tar.lz
gsoc2013-evolution-3fa4dfc54dd08d75076d4881207bdc45c3ee29ee.tar.xz
gsoc2013-evolution-3fa4dfc54dd08d75076d4881207bdc45c3ee29ee.tar.zst
gsoc2013-evolution-3fa4dfc54dd08d75076d4881207bdc45c3ee29ee.zip
Remove usage of deprecated e_client_is_opened().
e_client_is_opened() always returns TRUE, so skip it.
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c3
-rw-r--r--modules/calendar/e-memo-shell-view-private.c3
-rw-r--r--modules/calendar/e-task-shell-view-private.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index d62b977b94..10e67e8df5 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -1188,8 +1188,7 @@ e_cal_shell_view_update_timezone (ECalShellView *cal_shell_view)
for (iter = clients; iter != NULL; iter = iter->next) {
ECalClient *client = iter->data;
- if (e_client_is_opened (E_CLIENT (client)))
- e_cal_client_set_default_timezone (client, timezone);
+ e_cal_client_set_default_timezone (client, timezone);
}
g_list_free (clients);
diff --git a/modules/calendar/e-memo-shell-view-private.c b/modules/calendar/e-memo-shell-view-private.c
index 27ffad3dde..d881c8cb37 100644
--- a/modules/calendar/e-memo-shell-view-private.c
+++ b/modules/calendar/e-memo-shell-view-private.c
@@ -456,8 +456,7 @@ e_memo_shell_view_update_timezone (EMemoShellView *memo_shell_view)
for (iter = clients; iter != NULL; iter = iter->next) {
ECalClient *client = iter->data;
- if (e_client_is_opened (E_CLIENT (client)))
- e_cal_client_set_default_timezone (client, timezone);
+ e_cal_client_set_default_timezone (client, timezone);
}
g_list_free (clients);
diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c
index 816b853ef2..028661b594 100644
--- a/modules/calendar/e-task-shell-view-private.c
+++ b/modules/calendar/e-task-shell-view-private.c
@@ -637,8 +637,7 @@ e_task_shell_view_update_timezone (ETaskShellView *task_shell_view)
for (iter = clients; iter != NULL; iter = iter->next) {
ECalClient *client = iter->data;
- if (e_client_is_opened (E_CLIENT (client)))
- e_cal_client_set_default_timezone (client, timezone);
+ e_cal_client_set_default_timezone (client, timezone);
}
g_list_free (clients);