diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-01-23 18:11:38 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2011-01-23 18:11:38 +0100 |
| commit | 49abd46d162e1d5013a42947c200544b75ab9da1 (patch) | |
| tree | 91a74f000839814a315356fd9ef7dfe787501853 /src/setup.c | |
| parent | 7df97fbe8fa93141e7922a95f5ce0f9254bf41ab (diff) | |
| download | cataract-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.c | 2 |
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; } |
