aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-store.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-11-03 22:35:11 +0800
committerMilan Crha <mcrha@redhat.com>2010-11-03 22:35:11 +0800
commit7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560 (patch)
tree10093158f5a1357121666cc93d32f3fe26d45719 /mail/e-mail-store.c
parentf13051ae715206f6f081ed60247836d17c14004b (diff)
downloadgsoc2013-evolution-7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560.tar
gsoc2013-evolution-7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560.tar.gz
gsoc2013-evolution-7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560.tar.bz2
gsoc2013-evolution-7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560.tar.lz
gsoc2013-evolution-7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560.tar.xz
gsoc2013-evolution-7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560.tar.zst
gsoc2013-evolution-7ce11c62eae2c3b27cb8d2c00c00f9d2a50ac560.zip
Bug #632580 - Freezes UI on account disable
Diffstat (limited to 'mail/e-mail-store.c')
-rw-r--r--mail/e-mail-store.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c
index b23e6f2121..fdba2cfbd6 100644
--- a/mail/e-mail-store.c
+++ b/mail/e-mail-store.c
@@ -32,6 +32,7 @@
#include "mail/em-folder-tree-model.h"
#include "mail/mail-folder-cache.h"
#include "mail/mail-mt.h"
+#include "mail/mail-ops.h"
typedef struct _StoreInfo StoreInfo;
@@ -367,7 +368,7 @@ e_mail_store_remove (EMailSession *session,
default_model = em_folder_tree_model_get_default ();
em_folder_tree_model_remove_store (default_model, store);
- camel_service_disconnect_sync (CAMEL_SERVICE (store), TRUE, NULL);
+ mail_disconnect_store (store);
g_object_unref (store);
}