diff options
Diffstat (limited to 'mail/e-mail-store.c')
-rw-r--r-- | mail/e-mail-store.c | 3 |
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); } |