aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-04 01:00:33 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-04 01:00:33 +0800
commitef3204306ca354568754d552ed147496547c4ba4 (patch)
tree9f2efb9321e0f26a8bc05c68c29c0929cf6cf5b4 /libempathy
parent178e698e0db4be2cd2750b027284c3eaaa49d01e (diff)
downloadgsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.gz
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.bz2
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.lz
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.xz
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.tar.zst
gsoc2013-empathy-ef3204306ca354568754d552ed147496547c4ba4.zip
Don't hardcode path to uninstalled files, use EMPATHY_SRCDIR env var instead.
svn path=/trunk/; revision=693
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index dacd1668b..415dd7aeb 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -210,7 +210,8 @@ empathy_xml_validate (xmlDoc *doc,
xmlDtd *dtd;
gboolean ret;
- path = g_build_filename (UNINSTALLED_DTD_DIR, dtd_filename, NULL);
+ path = g_build_filename (g_getenv ("EMPATHY_SRCDIR"), "libempathy",
+ dtd_filename, NULL);
if (!g_file_test (path, G_FILE_TEST_EXISTS)) {
g_free (path);
path = g_build_filename (DATADIR, "empathy", dtd_filename, NULL);