diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-16 05:36:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-08-16 07:07:13 +0800 |
commit | f3648e1cb5f1a2537b557bce2ff9b0bc4f17c751 (patch) | |
tree | 24e6c4f74a75543d7491ab8027abf3c8d94fd10f /mail/e-mail-store-utils.c | |
parent | 4ba4bdd01266ce0c3642f92093f4ff2e09348fff (diff) | |
download | gsoc2013-evolution-f3648e1cb5f1a2537b557bce2ff9b0bc4f17c751.tar.gz gsoc2013-evolution-f3648e1cb5f1a2537b557bce2ff9b0bc4f17c751.tar.zst gsoc2013-evolution-f3648e1cb5f1a2537b557bce2ff9b0bc4f17c751.zip |
Adapt to new CamelSubscribable interface.
Diffstat (limited to 'mail/e-mail-store-utils.c')
-rw-r--r-- | mail/e-mail-store-utils.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/e-mail-store-utils.c b/mail/e-mail-store-utils.c index 1b9713bee2..0bf70ae94d 100644 --- a/mail/e-mail-store-utils.c +++ b/mail/e-mail-store-utils.c @@ -93,9 +93,10 @@ e_mail_store_create_folder_sync (CamelStore *store, if (folder_info == NULL) return FALSE; - if (camel_store_supports_subscriptions (store)) - success = camel_store_subscribe_folder_sync ( - store, full_name, cancellable, error); + if (CAMEL_IS_SUBSCRIBABLE (store)) + success = camel_subscribable_subscribe_folder_sync ( + CAMEL_SUBSCRIBABLE (store), + full_name, cancellable, error); camel_store_free_folder_info (store, folder_info); |