aboutsummaryrefslogtreecommitdiffstats
path: root/mail/evolution-mbox-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/evolution-mbox-importer.c')
-rw-r--r--mail/evolution-mbox-importer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/evolution-mbox-importer.c b/mail/evolution-mbox-importer.c
index 84837ccb9b..0e18fb6732 100644
--- a/mail/evolution-mbox-importer.c
+++ b/mail/evolution-mbox-importer.c
@@ -33,6 +33,7 @@
#include <importer/GNOME_Evolution_Importer.h>
#include "mail-importer.h"
+#include "mail-tools.h"
#include <camel/camel.h>
@@ -183,7 +184,7 @@ load_file_fn (EvolutionImporter *eimporter,
}
importer->mstream = NULL;
- importer->folder = mail_importer_get_folder ("Inbox", NULL);
+ importer->folder = mail_tool_get_local_inbox (NULL);
if (importer->folder == NULL) {
g_print ("Bad folder\n");