aboutsummaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml.c b/src/xml.c
index f07dc95b..67c4ba1b 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -74,7 +74,7 @@ XMLFile *xml_open_file(const gchar *path)
newfile = g_new(XMLFile, 1);
- newfile->fp = fopen(path, "rb");
+ newfile->fp = g_fopen(path, "rb");
if (!newfile->fp) {
g_free(newfile);
return NULL;