aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-08 09:12:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-08 09:12:02 +0800
commit03fe4bdcbc8a2e644339bbfcd12843da1f766375 (patch)
treeb2f3a6f3ed4053aec88a1568cc1936d00dbb9f9f /mail/importers
parent16e2beab9e4d412399f495f6165d27da80cb3675 (diff)
downloadgsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.gz
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.bz2
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.lz
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.xz
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.zst
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.zip
Fix most of the compiler warnings in mail.
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/mail-importer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c
index dbae51dfcb..ebf79e88b8 100644
--- a/mail/importers/mail-importer.c
+++ b/mail/importers/mail-importer.c
@@ -357,6 +357,7 @@ struct _import_folders_data {
static void
import_folders_rec(struct _import_folders_data *m, const char *filepath, const char *folderparent)
{
+ EShellBackend *shell_backend;
GDir *dir;
const char *d;
struct stat st;
@@ -368,7 +369,8 @@ import_folders_rec(struct _import_folders_data *m, const char *filepath, const c
if (dir == NULL)
return;
- data_dir = e_shell_backend_get_data_dir (global_mail_shell_backend);
+ shell_backend = E_SHELL_BACKEND (global_mail_shell_backend);
+ data_dir = e_shell_backend_get_data_dir (shell_backend);
utf8_filename = g_filename_to_utf8 (filepath, -1, NULL, NULL, NULL);
camel_operation_start(NULL, _("Scanning %s"), utf8_filename);