From e5c03181ba3cd06f27e10677960575e44e7900a6 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 8 Aug 2005 07:07:19 +0000 Subject: added wrappers for C library function that take pathname arguments. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@478 ee746299-78ed-0310-b773-934348b2243d --- src/xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xml.c') 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; -- cgit v1.2.3