From 489d24b2d3e91762354023127fdaf384c2570427 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 27 Feb 2009 21:41:40 +0100 Subject: Dist templates Dist sample source structure - automake always deference symlinks, we need to find better way to handle the sample structure --- src/setup.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/setup.c') 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; -- cgit v1.2.3