gobject-introspection r840 - trunk/giscanner



Author: johan
Date: Thu Oct 30 15:40:42 2008
New Revision: 840
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=840&view=rev

Log:
Look in XDG_DATA_DIR/gir, really.

Modified:
   trunk/giscanner/transformer.py

Modified: trunk/giscanner/transformer.py
==============================================================================
--- trunk/giscanner/transformer.py	(original)
+++ trunk/giscanner/transformer.py	Thu Oct 30 15:40:42 2008
@@ -112,7 +112,7 @@
             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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]