tools/build_gtk_tree.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 1 Dec 2010 08:19:52 +0000 (16:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 1 Dec 2010 08:19:52 +0000 (16:19 +0800)
tools/build_gtk_tree.js

index d9760d4..08dc7c3 100644 (file)
@@ -9,6 +9,12 @@
 // b) what methods are available for each type, that include a reference to another type..
 
 // let's start with types.. 
+GIRepository = imports.gi.GIRepository;
+GLib        = imports.gi.GLib;
+
+// we add this in, as it appears to get lost sometimes if we set it using the ENV. variable in builder.sh
+GIRepository.IRepository.prepend_search_path(GLib.get_home_dir() + '/.Builder/girepository-1.1');
+
 
 imports.searchPath.push('../../gnome.introspection-doc-generator');