[evolution-mapi/gnome-3-16] Use e_source_remove_sync() instead of e_source_registry_server_remove_source()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-3-16] Use e_source_remove_sync() instead of e_source_registry_server_remove_source()
- Date: Thu, 11 Jun 2015 12:09:40 +0000 (UTC)
commit f43c81b6e930dc48aa5a2ed6bd54693ab61175ab
Author: Milan Crha <mcrha redhat com>
Date: Thu Jun 11 14:08:38 2015 +0200
Use e_source_remove_sync() instead of e_source_registry_server_remove_source()
The former calls the later internally, but apart of it it does few
useful things too, like removing the disk file, thus it is not
used the next start again.
src/collection/e-mapi-backend.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/collection/e-mapi-backend.c b/src/collection/e-mapi-backend.c
index 515f519..0eaafae 100644
--- a/src/collection/e-mapi-backend.c
+++ b/src/collection/e-mapi-backend.c
@@ -273,7 +273,7 @@ mapi_backend_sync_folders_idle_cb (gpointer user_data)
continue;
}
- e_source_registry_server_remove_source (server, source);
+ e_source_remove_sync (source, NULL, NULL);
}
all_sources = e_collection_backend_claim_all_resources (E_COLLECTION_BACKEND (backend));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]