From 8eda659487437658dc527641608b31e94b5a98b3 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 1 Dec 2010 16:19:52 +0800 Subject: [PATCH] tools/build_gtk_tree.js --- tools/build_gtk_tree.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index d9760d4d2..08dc7c3c6 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -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'); -- 2.39.2