aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-16 03:05:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-18 00:08:46 +0800
commit060bb076625dba3aad86485014d49a348cf13671 (patch)
treedd32838d9ead76aa5c9794aaa7881c84bf153e96 /mail/e-mail-reader-utils.c
parentc36aa6b7498ac73a77624533516b010f5701f08b (diff)
downloadgsoc2013-evolution-060bb076625dba3aad86485014d49a348cf13671.tar
gsoc2013-evolution-060bb076625dba3aad86485014d49a348cf13671.tar.gz
gsoc2013-evolution-060bb076625dba3aad86485014d49a348cf13671.tar.bz2
gsoc2013-evolution-060bb076625dba3aad86485014d49a348cf13671.tar.lz
gsoc2013-evolution-060bb076625dba3aad86485014d49a348cf13671.tar.xz
gsoc2013-evolution-060bb076625dba3aad86485014d49a348cf13671.tar.zst
gsoc2013-evolution-060bb076625dba3aad86485014d49a348cf13671.zip
mail_folder_cache_get_folder_info_flags: Change parameters.
Take a CamelStore and folder name instead of a CamelFolder. CamelStore and folder name can easily be obtained from either a folder URI or a CamelFolder instance, and the function is more efficient with separate parameters.
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r--mail/e-mail-reader-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index 2a3c4c6a8c..acd52950c8 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -260,7 +260,7 @@ e_mail_reader_delete_folder (EMailReader *reader,
}
have_flags = mail_folder_cache_get_folder_info_flags (
- folder_cache, folder, &flags);
+ folder_cache, parent_store, full_name, &flags);
if (have_flags && (flags & CAMEL_FOLDER_SYSTEM)) {
e_alert_submit (