aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2001-03-30 04:53:17 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2001-03-30 04:53:17 +0800
commit57574f0be32f05aeaa19b71b452d690ed3edbdff (patch)
treea3992f76fdab26184ec3bfc5329f82d153437bd1 /mail/importers
parentfe962a2055234adf407999f0557ae25441ca5c35 (diff)
downloadgsoc2013-evolution-57574f0be32f05aeaa19b71b452d690ed3edbdff.tar
gsoc2013-evolution-57574f0be32f05aeaa19b71b452d690ed3edbdff.tar.gz
gsoc2013-evolution-57574f0be32f05aeaa19b71b452d690ed3edbdff.tar.bz2
gsoc2013-evolution-57574f0be32f05aeaa19b71b452d690ed3edbdff.tar.lz
gsoc2013-evolution-57574f0be32f05aeaa19b71b452d690ed3edbdff.tar.xz
gsoc2013-evolution-57574f0be32f05aeaa19b71b452d690ed3edbdff.tar.zst
gsoc2013-evolution-57574f0be32f05aeaa19b71b452d690ed3edbdff.zip
Cleaned up #includes. Remove unneccesary includes of <gnome.h>,
2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Cleaned up #includes. Remove unneccesary includes of <gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more fine grained headers where needed. Also marked a bunch of strings for translations and added some missing prototypes. svn path=/trunk/; revision=9025
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/evolution-mbox-importer.c14
-rw-r--r--mail/importers/evolution-outlook-importer.c12
-rw-r--r--mail/importers/netscape-importer.c1
-rw-r--r--mail/importers/pine-importer.c6
4 files changed, 22 insertions, 11 deletions
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index aa701d9f25..b1677161c7 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -25,20 +25,20 @@
#include <config.h>
#endif
+#include <stdio.h>
+
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-generic-factory.h>
-#include <stdio.h>
+#include <camel/camel-exception.h>
+#include <camel/camel-mime-message.h>
+#include <camel/camel-mime-parser.h>
+#include <camel/camel-mime-part.h>
#include <importer/evolution-importer.h>
#include <importer/GNOME_Evolution_Importer.h>
-#include "mail-importer.h"
-
-#include <camel/camel-exception.h>
-#include <camel/camel-mime-parser.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-mime-message.h>
+#include "mail/mail-importer.h"
#include "mail-tools.h"
#define IMPORTER_DEBUG
diff --git a/mail/importers/evolution-outlook-importer.c b/mail/importers/evolution-outlook-importer.c
index 7f8a361697..06267992b5 100644
--- a/mail/importers/evolution-outlook-importer.c
+++ b/mail/importers/evolution-outlook-importer.c
@@ -34,9 +34,13 @@
#include <importer/evolution-importer.h>
#include <importer/GNOME_Evolution_Importer.h>
+#include <camel/camel-exception.h>
+
+#include "e-util/e-memory.h"
+
#include "mail-importer.h"
+#include "mail-tools.h"
-#include <camel/camel-exception.h>
#define OUTLOOK_FACTORY_IID "OAFIID:GNOME_Evolution_Mail_Outlook_ImporterFactory"
@@ -63,6 +67,10 @@ struct oe_msg_segmentheader {
typedef struct oe_msg_segmentheader oe_msg_segmentheader;
+/* Prototype */
+
+void mail_importer_module_init (void);
+
/* EvolutionImporter methods */
@@ -260,7 +268,7 @@ load_file_fn (EvolutionImporter *eimporter,
if (folderpath == NULL)
importer->folder = mail_tool_get_local_inbox (NULL);
else
- importer->folder = mail_tool_uri_to_folder (folderpath);
+ importer->folder = mail_tool_uri_to_folder (folderpath, NULL);
if (importer->folder == NULL){
g_warning ("Bad folder");
diff --git a/mail/importers/netscape-importer.c b/mail/importers/netscape-importer.c
index 9a6ec5eac9..64effc7b4d 100644
--- a/mail/importers/netscape-importer.c
+++ b/mail/importers/netscape-importer.c
@@ -34,7 +34,6 @@
#include <dirent.h>
#include <glib.h>
-#include <gnome.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-generic-factory.h>
diff --git a/mail/importers/pine-importer.c b/mail/importers/pine-importer.c
index cfc32b1975..310eea3483 100644
--- a/mail/importers/pine-importer.c
+++ b/mail/importers/pine-importer.c
@@ -34,7 +34,6 @@
#include <dirent.h>
#include <glib.h>
-#include <gnome.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-generic-factory.h>
@@ -74,6 +73,11 @@ typedef struct {
char *path;
} PineFolder;
+/* Prototype */
+
+void mail_importer_module_init (void);
+
+
static gboolean
pine_is_mbox (const char *filename)
{