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:
0f103ab
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@roojs.com>
Fri, 10 Aug 2012 10:47:44 +0000
(18:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 10 Aug 2012 10:47:44 +0000
(18:47 +0800)
tools/build_gtk_tree.js
patch
|
blob
|
history
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
f549de1
..
f6a8479
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-276,6
+276,10
@@
function BuildLists () {
if (method !='Gtk.Container:add') {
return true;
}
+ if (failed.indexOf(parent) > -1) {
+ return false;
+ }
+
var ar = parent.split('.')
var cls =ar[1];
var ns =ar[0];
@@
-298,6
+302,7
@@
function BuildLists () {
try {
var x = new imports.gi[ns][cls]();
} catch(e) {
+ failed.push(parent);
print("TRY ctor: " + parent );
print(JSON.stringify(e));
return false;