aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-10 04:29:49 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-16 04:16:08 +0800
commit65705e4f55560889ac6de638aa8f3245c06349c0 (patch)
tree0c87f3c1efab739717a77f914a33085ca67fa2ab /mail/mail-tools.c
parentb8efcdb8d6fc81c4b942bde4acd83f83b15791de (diff)
downloadgsoc2013-evolution-65705e4f55560889ac6de638aa8f3245c06349c0.tar.gz
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 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 1403605b33..45f502ecf0 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -349,7 +349,7 @@ mail_tool_uri_to_folder (const gchar *uri, guint32 flags, CamelException *ex)
}
if (folder)
- mail_note_folder (folder);
+ mail_folder_cache_note_folder (mail_folder_cache_get_default (), folder);
camel_url_free (url);
g_free(curi);