[evolution-mapi] EMapiBackend: Remove resources with e_source_remove_sync().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] EMapiBackend: Remove resources with e_source_remove_sync().
- Date: Mon, 15 Apr 2013 13:20:43 +0000 (UTC)
commit da06a5f65f51b37b79c75836c37811d486050ef1
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Apr 15 09:20:31 2013 -0400
EMapiBackend: Remove resources with e_source_remove_sync().
Same issue as EWS in https://bugzilla.gnome.org/691937.
src/collection/e-mapi-backend.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/collection/e-mapi-backend.c b/src/collection/e-mapi-backend.c
index b311ee7..047ffdf 100644
--- a/src/collection/e-mapi-backend.c
+++ b/src/collection/e-mapi-backend.c
@@ -752,11 +752,7 @@ mapi_backend_delete_resource_sync (ECollectionBackend *backend,
E_BACKEND (backend), settings, mapi_backend_delete_resource_cb, source, cancellable, error))
return FALSE;
- server = e_collection_backend_ref_server (backend);
- e_source_registry_server_remove_source (server, source);
- g_object_unref (server);
-
- return TRUE;
+ return e_source_remove_sync (source, cancellable, error);
}
static ESourceAuthenticationResult
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]