summaryrefslogtreecommitdiff
path: root/src/setup.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2011-01-23 18:11:38 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2011-01-23 18:11:38 +0100
commit49abd46d162e1d5013a42947c200544b75ab9da1 (patch)
tree91a74f000839814a315356fd9ef7dfe787501853 /src/setup.c
parent7df97fbe8fa93141e7922a95f5ce0f9254bf41ab (diff)
downloadcataract-49abd46d162e1d5013a42947c200544b75ab9da1.tar.xz
Use g_build_{filename|path} when possible
This has a nice side effect of not having double slashes in paths anymore.
Diffstat (limited to 'src/setup.c')
-rw-r--r--src/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup.c b/src/setup.c
index 6cc9ed6..68c3cd3 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -171,7 +171,7 @@ test_tmpl_access (const gchar *dir, const gchar *path)
int b;
s = g_build_filename (dir, path, NULL);
- b = access (s, R_OK);
+ b = g_access (s, R_OK);
g_free (s);
return b;
}