projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebaa726
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 08:14:13 +0000
(16:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 08:14:13 +0000
(16:14 +0800)
tools/build_gtk_tree.js
patch
|
blob
|
history
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
8941460
..
f9e0a58
100644
(file)
--- 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];
+});
+