summaryrefslogtreecommitdiff
path: root/src/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.c')
-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;