summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-02-27 21:41:40 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-02-27 21:41:40 +0100
commit489d24b2d3e91762354023127fdaf384c2570427 (patch)
tree85db1e2505522429dc9b8cba84e4578dc0f92516 /src
parent2eda46ed24d5c22dd895d3eebd8af931be4fefdc (diff)
downloadcataract-489d24b2d3e91762354023127fdaf384c2570427.tar.xz
Dist templates
Dist sample source structure - automake always deference symlinks, we need to find better way to handle the sample structure
Diffstat (limited to 'src')
-rw-r--r--src/setup.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/setup.c b/src/setup.c
index 2e19acf..1481be6 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -62,12 +62,7 @@ find_setup_xml (TGallerySetup *setup)
g_free (pth);
if (b) return TRUE;
- pth = g_strconcat("/usr/share/cgg/", SETUP_XML, NULL);
- b = parse_setup_xml (pth, setup);
- g_free (pth);
- if (b) return TRUE;
-
- pth = g_strconcat("/usr/local/share/cgg/", SETUP_XML, NULL);
+ pth = g_strconcat (DATADIR, "/cgg/", SETUP_XML, NULL);
b = parse_setup_xml (pth, setup);
g_free (pth);
return b;