X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tools%2Fbuild_gtk_tree.js;h=f9e0a58c0a3820435fe016b030ecc3bd2013495e;hb=4b532509256215e7beb39ace551e208dc264b9c5;hp=89414609303548a7653b5ce82422e57ea412e6b0;hpb=ebaa7265380da821ba42008f371e3e33ca0b30ec;p=app.Builder.js diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index 894146093..f9e0a58c0 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -18,3 +18,14 @@ File = imports.File.File; // Introspecion specific.. NameSpace = imports.Introspect.NameSpace.NameSpace; Link = imports.Introspect.Link.Link; + +var ns_list = NameSpace.namespaces(); + +ns_list = ns_list.sort(); +// let's try and load them, so we find out early what will fail. +print("loading library to make sure it works."); +ns_list.forEach(function(ns_name) +{ + var core = imports.gi[ns_name]; +}); +