diff options
author | Tor Lillqvist <tml@novell.com> | 2005-12-17 23:43:23 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-12-17 23:43:23 +0800 |
commit | 5786ebbccf24fee30e04e36391f4ca76c408ba8b (patch) | |
tree | f08a2110f7e9488810a87a607733b2f19700b4c1 /e-util/e-folder-map.c | |
parent | f90e52b1c0d343e75c8ddee2707c466846ad15a5 (diff) | |
download | gsoc2013-evolution-5786ebbccf24fee30e04e36391f4ca76c408ba8b.tar.gz gsoc2013-evolution-5786ebbccf24fee30e04e36391f4ca76c408ba8b.tar.zst gsoc2013-evolution-5786ebbccf24fee30e04e36391f4ca76c408ba8b.zip |
e-error.c Use gstdio wrappers. Use GDir instead of dirent.
2005-12-17 Tor Lillqvist <tml@novell.com>
* e-error.c
* e-fsutils.c: Use gstdio wrappers. Use GDir instead of dirent.
* e-error.c
* e-folder-map.c: Use e_xml_parse_file() instead of using libxml
directly.
svn path=/trunk/; revision=30821
Diffstat (limited to 'e-util/e-folder-map.c')
-rw-r--r-- | e-util/e-folder-map.c | 8 |
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; } |