From 49abd46d162e1d5013a42947c200544b75ab9da1 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 23 Jan 2011 18:11:38 +0100 Subject: Use g_build_{filename|path} when possible This has a nice side effect of not having double slashes in paths anymore. --- src/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/setup.c') 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; } -- cgit v1.2.3