diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-10 04:29:49 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-16 04:16:08 +0800 |
commit | 65705e4f55560889ac6de638aa8f3245c06349c0 (patch) | |
tree | 0c87f3c1efab739717a77f914a33085ca67fa2ab /plugins | |
parent | b8efcdb8d6fc81c4b942bde4acd83f83b15791de (diff) | |
download | gsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.tar gsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.tar.gz gsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.tar.bz2 gsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.tar.lz gsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.tar.xz gsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.tar.zst gsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.zip |
Make the mail folder cache a proper GObject
mail-folder-cache previously was a bit of a pseudo object (sort of a singleton)
that operated on some file static data. This commit re-factors things so that
it is a proper class named MailFolderCache. At the moment, this doesn't gain us
much, but in the future, it will allow us to add signals, etc so that we can
de-couple a lot of the interdependencies in here. This is essentially a
pre-requisite to splitting up a lot of the mail backend stuff.
https://bugzilla.gnome.org/show_bug.cgi?id=604627
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 57e9bc2ad8..4ce4b430d5 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -2117,7 +2117,8 @@ in_proper_folder (CamelFolder *folder) uri = mail_tools_folder_to_url (folder); - if (mail_folder_cache_get_folder_info_flags (folder, &flags)) { + if (mail_folder_cache_get_folder_info_flags (mail_folder_cache_get_default (), + folder, &flags)) { /* it should be neither trash nor junk folder, */ res = ((flags & CAMEL_FOLDER_TYPE_TRASH) != CAMEL_FOLDER_TYPE_TRASH && (flags & CAMEL_FOLDER_TYPE_JUNK) != CAMEL_FOLDER_TYPE_JUNK && |