aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-folder-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-16 05:36:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-08-16 07:07:13 +0800
commitf3648e1cb5f1a2537b557bce2ff9b0bc4f17c751 (patch)
tree24e6c4f74a75543d7491ab8027abf3c8d94fd10f /mail/e-mail-folder-utils.c
parent4ba4bdd01266ce0c3642f92093f4ff2e09348fff (diff)
downloadgsoc2013-evolution-f3648e1cb5f1a2537b557bce2ff9b0bc4f17c751.tar.gz
gsoc2013-evolution-f3648e1cb5f1a2537b557bce2ff9b0bc4f17c751.tar.zst
gsoc2013-evolution-f3648e1cb5f1a2537b557bce2ff9b0bc4f17c751.zip
Adapt to new CamelSubscribable interface.
Diffstat (limited to 'mail/e-mail-folder-utils.c')
-rw-r--r--mail/e-mail-folder-utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/e-mail-folder-utils.c b/mail/e-mail-folder-utils.c
index d7d4808058..72afb08c6f 100644
--- a/mail/e-mail-folder-utils.c
+++ b/mail/e-mail-folder-utils.c
@@ -746,9 +746,10 @@ mail_folder_remove_recursive (CamelStore *store,
/* If the store supports subscriptions,
* then unsubscribe from this folder. */
- if (camel_store_supports_subscriptions (store)) {
- success = camel_store_unsubscribe_folder_sync (
- store, folder_info->full_name,
+ if (CAMEL_IS_SUBSCRIBABLE (store)) {
+ success = camel_subscribable_unsubscribe_folder_sync (
+ CAMEL_SUBSCRIBABLE (store),
+ folder_info->full_name,
cancellable, error);
if (!success)
break;