diff options
Diffstat (limited to 'mail/e-mail-store.c')
-rw-r--r-- | mail/e-mail-store.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c index ea524ad5e2..d27c01a298 100644 --- a/mail/e-mail-store.c +++ b/mail/e-mail-store.c @@ -86,9 +86,11 @@ store_info_new (CamelStore *store, /* If these are vfolders then they need to be opened now, * otherwise they won't keep track of all folders. */ if (store->flags & CAMEL_STORE_VTRASH) - store_info->vtrash = camel_store_get_trash (store, NULL, NULL); + store_info->vtrash = + camel_store_get_trash_folder_sync (store, NULL, NULL); if (store->flags & CAMEL_STORE_VJUNK) - store_info->vjunk = camel_store_get_junk (store, NULL, NULL); + store_info->vjunk = + camel_store_get_junk_folder_sync (store, NULL, NULL); return store_info; } @@ -343,7 +345,7 @@ fail: static void mail_store_remove_cb (CamelStore *store) { - camel_service_disconnect (CAMEL_SERVICE (store), TRUE, NULL); + camel_service_disconnect_sync (CAMEL_SERVICE (store), TRUE, NULL); g_object_unref (store); } |