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/importers/mail-importer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/importers') diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c index 6e4573487f..ee1c958d12 100644 --- a/mail/importers/mail-importer.c +++ b/mail/importers/mail-importer.c @@ -50,7 +50,7 @@ #include "mail-mt.h" #include "mail-tools.h" #include "e-mail-local.h" -#include "em-utils.h" +#include "mail-session.h" #include "mail-importer.h" @@ -292,7 +292,7 @@ import_folders_rec(struct _import_folders_data *m, const gchar *filepath, const if (dir == NULL) return; - data_dir = em_utils_get_data_dir (); + data_dir = mail_session_get_data_dir (); utf8_filename = g_filename_to_utf8 (filepath, -1, NULL, NULL, NULL); camel_operation_start(NULL, _("Scanning %s"), utf8_filename); -- cgit