aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/e-mail-session.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-05-19 23:11:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-05-20 01:35:28 +0800
commit98f39d7ee0581aaa28c33564d9d6b27aa23028fa (patch)
treea55d7307795a07022afc53d0a030639bfabab45f /libemail-engine/e-mail-session.c
parent98462b59ec41432fe0334c473b4e4c11a0f3def6 (diff)
downloadgsoc2013-evolution-98f39d7ee0581aaa28c33564d9d6b27aa23028fa.tar
gsoc2013-evolution-98f39d7ee0581aaa28c33564d9d6b27aa23028fa.tar.gz
gsoc2013-evolution-98f39d7ee0581aaa28c33564d9d6b27aa23028fa.tar.bz2
gsoc2013-evolution-98f39d7ee0581aaa28c33564d9d6b27aa23028fa.tar.lz
gsoc2013-evolution-98f39d7ee0581aaa28c33564d9d6b27aa23028fa.tar.xz
gsoc2013-evolution-98f39d7ee0581aaa28c33564d9d6b27aa23028fa.tar.zst
gsoc2013-evolution-98f39d7ee0581aaa28c33564d9d6b27aa23028fa.zip
Adapt to CamelService API changes.
em_utils_connect_service_sync() and em_utils_disconnect_service_sync() are no longer needed. CamelService itself now effectively does what these functions were doing.
Diffstat (limited to 'libemail-engine/e-mail-session.c')
-rw-r--r--libemail-engine/e-mail-session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libemail-engine/e-mail-session.c b/libemail-engine/e-mail-session.c
index 475f8024aa..bc72e98652 100644
--- a/libemail-engine/e-mail-session.c
+++ b/libemail-engine/e-mail-session.c
@@ -695,7 +695,7 @@ mail_session_add_vfolder_store (EMailSession *session)
g_return_if_fail (CAMEL_IS_SERVICE (service));
camel_service_set_display_name (service, _("Search Folders"));
- em_utils_connect_service_sync (service, NULL, NULL);
+ camel_service_connect_sync (service, NULL, NULL);
/* XXX There's more configuration to do in vfolder_load_storage()
* but it requires an EMailBackend, which we don't have access
@@ -1710,7 +1710,7 @@ e_mail_session_get_inbox_sync (EMailSession *session,
if (!CAMEL_IS_STORE (service))
return NULL;
- if (!em_utils_connect_service_sync (service, cancellable, error))
+ if (!camel_service_connect_sync (service, cancellable, error))
return NULL;
return camel_store_get_inbox_folder_sync (
@@ -1809,7 +1809,7 @@ e_mail_session_get_trash_sync (EMailSession *session,
if (!CAMEL_IS_STORE (service))
return NULL;
- if (!em_utils_connect_service_sync (service, cancellable, error))
+ if (!camel_service_connect_sync (service, cancellable, error))
return NULL;
return camel_store_get_trash_folder_sync (