summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2008-10-30 15:40:42 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-10-30 15:40:42 +0000
commitde42db124cceb0c09f95e9cac13d953f397d41ef (patch)
tree55ed862a1dcef13051f5b11de2591c9c642e3ce1 /giscanner
parent637ac4d5a0cee335b12582909e7561380ba8203d (diff)
downloadgobject-introspection-de42db124cceb0c09f95e9cac13d953f397d41ef.tar.gz
Look in XDG_DATA_DIR/gir, really.
svn path=/trunk/; revision=840
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/transformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/transformer.py b/giscanner/transformer.py
index f886f67f..378a763e 100644
--- a/giscanner/transformer.py
+++ b/giscanner/transformer.py
@@ -112,7 +112,7 @@ class Transformer(object):
searchdirs.append(os.path.join(path, 'gir'))
girname = '%s-%s.gir' % (include.name, include.version)
- for d in self._includepaths:
+ for d in searchdirs:
path = os.path.join(d, girname)
if os.path.exists(path):
return path