diff options
Diffstat (limited to 'e-util/e-pilot-map.c')
-rw-r--r-- | e-util/e-pilot-map.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/e-util/e-pilot-map.c b/e-util/e-pilot-map.c index e155657732..533c2f3de7 100644 --- a/e-util/e-pilot-map.c +++ b/e-util/e-pilot-map.c @@ -20,13 +20,16 @@ * Boston, MA 02111-1307, USA. */ -#include "e-pilot-map.h" - -#include <string.h> /* memset(), strcmp() */ +#include <string.h> #include <stdlib.h> + #include <glib.h> #include <libxml/parser.h> +#include <libedataserver/e-xml-utils.h> + +#include "e-pilot-map.h" + typedef struct { char *uid; @@ -402,7 +405,7 @@ e_pilot_map_write (const char *filename, EPilotMap *map) /* Write the file */ xmlSetDocCompressMode (doc, 0); - ret = xmlSaveFile (filename, doc); + ret = e_xml_save_file (filename, doc); if (ret < 0) { g_warning ("Pilot map file '%s' could not be saved\n", filename); return -1; |