aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-folder-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-folder-map.c')
-rw-r--r--e-util/e-folder-map.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-folder-map.c b/e-util/e-folder-map.c
index 8643152a06..28d3f502e3 100644
--- a/e-util/e-folder-map.c
+++ b/e-util/e-folder-map.c
@@ -20,10 +20,7 @@
*
*/
-
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <sys/types.h>
#include <sys/stat.h>
@@ -36,6 +33,8 @@
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
+#include <libedataserver/e-xml-utils.h>
+
#include "e-folder-map.h"
#define d(x)
@@ -47,7 +46,8 @@ is_type_folder (const char *metadata, const char *search_type)
xmlDocPtr doc;
char *type;
- if (!(doc = xmlParseFile (metadata))) {
+ doc = e_xml_parse_file (metadata);
+ if (!doc) {
g_warning ("Cannot parse `%s'", metadata);
return FALSE;
}