tests/tickets.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 29 Mar 2011 10:04:29 +0000 (18:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 29 Mar 2011 10:04:29 +0000 (18:04 +0800)
tests/tickets.js

index 2d162c7..126baa5 100644 (file)
@@ -6,6 +6,12 @@
 GLib        = imports.gi.GLib;
 Soup = imports.gi.Soup ;
 
+GI      = 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
+GI.IRepository.prepend_search_path(GLib.get_home_dir() + '/.Builder/girepository-1.1');
+
 
 File = imports['../File.js'].File;