summaryrefslogtreecommitdiff
path: root/pango/modules.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2004-12-12 21:52:09 +0000
committerTor Lillqvist <tml@src.gnome.org>2004-12-12 21:52:09 +0000
commitf84e23d20b29d406ab1f183f22ab4b9ca42b46fb (patch)
tree7feb79de1ffcc5a596fbf16892f632458159149c /pango/modules.c
parent93b027c3788b3bc71fb841b743b32c3717aa4398 (diff)
downloadpango-f84e23d20b29d406ab1f183f22ab4b9ca42b46fb.tar.gz
pango/modules.c (read_modules) Use gstdio wrappers. (#16111, Robert
2004-12-12 Tor Lillqvist <tml@iki.fi> * pango/modules.c (read_modules) * pango/pango-utils.c (read_alias_file,read_config_file): Use gstdio wrappers. (#16111, Robert Ă–gren) * pango/pangoft2-fontmap.c: Remove unneded includes of <dirent.h> and <windows.h>.
Diffstat (limited to 'pango/modules.c')
-rw-r--r--pango/modules.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/modules.c b/pango/modules.c
index ceb4f2d5..719ec66e 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -26,6 +26,7 @@
#include <errno.h>
#include <gmodule.h>
+#include <glib/gstdio.h>
#include "pango-enum-types.h"
#include "pango-modules.h"
@@ -494,7 +495,7 @@ read_modules (void)
while (n-- > 0)
{
- module_file = fopen (files[n], "r");
+ module_file = g_fopen (files[n], "r");
if (module_file)
{
process_module_file(module_file);