aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session-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-session-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-session-utils.c')
-rw-r--r--mail/e-mail-session-utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/e-mail-session-utils.c b/mail/e-mail-session-utils.c
index 2922e3c69a..55221249c4 100644
--- a/mail/e-mail-session-utils.c
+++ b/mail/e-mail-session-utils.c
@@ -877,8 +877,9 @@ e_mail_session_unsubscribe_folder_sync (EMailSession *session,
success =
em_utils_connect_service_sync (
CAMEL_SERVICE (store), cancellable, error) &&
- camel_store_unsubscribe_folder_sync (
- store, folder_name, cancellable, error);
+ camel_subscribable_unsubscribe_folder_sync (
+ CAMEL_SUBSCRIBABLE (store),
+ folder_name, cancellable, error);
camel_operation_pop_message (cancellable);