aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-17 00:27:12 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-17 01:10:02 +0800
commit968ea42023e5e0daf860a7246533311a67f77e05 (patch)
treeb68bd7c80b48c09e332b45c9e3b4ed98fd68efd9 /mail/mail-folder-cache.c
parent3a0a795a167ed33eaa6a9a73b0edeb854aef6f0f (diff)
downloadgsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.gz
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.bz2
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.lz
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.xz
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.zst
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.zip
Kill em_utils_get_data/config_dir(), push down to MailSession
This pushes the get_data_dir() API down to the right level. At present, it is still implemented by querying the shell backend for the data dir / config dir. But this should eventually be reversed (when mail is split off to EDS) so that the mail daemon is the one responsible for the storage locations and the shell backend queries the daemon for these values.
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index f43e16e7b8..5bf5be4bbd 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -701,7 +701,7 @@ rename_folders(MailFolderCache *self, struct _store_info *si, const gchar *oldba
#endif
/* rename the meta-data we maintain ourselves */
- config_dir = em_utils_get_config_dir ();
+ config_dir = mail_session_get_config_dir ();
olduri = folder_to_url(si->store, old);
e_filename_make_safe(olduri);
newuri = folder_to_url(si->store, fi->full_name);