diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-21 11:13:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-28 23:35:55 +0800 |
commit | 31b57ed0383b2ea225195d4b72a872f7f2d93163 (patch) | |
tree | 2d70adcce04ed1ed5111c06cd7ad93266419b0e0 /mail/mail-tools.c | |
parent | a91eeb647138ee035444cdc3c265fa4e95898f29 (diff) | |
download | gsoc2013-evolution-31b57ed0383b2ea225195d4b72a872f7f2d93163.tar.gz gsoc2013-evolution-31b57ed0383b2ea225195d4b72a872f7f2d93163.tar.zst gsoc2013-evolution-31b57ed0383b2ea225195d4b72a872f7f2d93163.zip |
Adapt to Camel API changes.
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r-- | mail/mail-tools.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 66ffdd207a..3804321740 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -55,7 +55,7 @@ mail_tool_get_inbox (const gchar *url, if (!store) return NULL; - folder = camel_store_get_inbox (store, cancellable, error); + folder = camel_store_get_inbox_folder_sync (store, cancellable, error); g_object_unref (store); return folder; @@ -96,7 +96,8 @@ mail_tool_get_trash (const gchar *url, if (connect || (CAMEL_SERVICE (store)->status == CAMEL_SERVICE_CONNECTED || is_local_provider (store))) - trash = camel_store_get_trash (store, cancellable, error); + trash = camel_store_get_trash_folder_sync ( + store, cancellable, error); else trash = NULL; @@ -351,13 +352,13 @@ mail_tool_uri_to_folder (const gchar *uri, if (offset) { if (offset == 7) - folder = camel_store_get_trash ( + folder = camel_store_get_trash_folder_sync ( store, cancellable, error); else if (offset == 6) - folder = camel_store_get_junk ( + folder = camel_store_get_junk_folder_sync ( store, cancellable, error); } else - folder = camel_store_get_folder ( + folder = camel_store_get_folder_sync ( store, name, flags, cancellable, error); g_object_unref (store); } |