From 968ea42023e5e0daf860a7246533311a67f77e05 Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Wed, 16 Dec 2009 10:27:12 -0600 Subject: 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. --- mail/mail-session.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-session.h') diff --git a/mail/mail-session.h b/mail/mail-session.h index b1274403c0..ccca89d199 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -50,6 +50,9 @@ void mail_session_add_junk_plugin (const gchar *plugin_name, CamelJunkPlugin *ju const GList * mail_session_get_junk_plugins (void); void mail_session_set_junk_headers (const gchar **name, const gchar **value, gint len); +const gchar * mail_session_get_data_dir (void); +const gchar * mail_session_get_config_dir (void); + extern CamelSession *session; G_END_DECLS -- cgit v1.2.3