projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/build_gtk_tree.js
[app.Builder.js]
/
tools
/
build_gtk_tree.js
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
2c142b1
..
586c85c
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-273,10
+273,12
@@
function BuildLists () {
function verifyUsageMethod(parent,child,method)
{
// currently only verifies add on container.
function verifyUsageMethod(parent,child,method)
{
// currently only verifies add on container.
- if (method !='add') {
-
+ if (method !='
Gtk.Container:
add') {
+ return true;
}
}
-
+ var cls = parent.split('.').pop();
+ var x = new Gtk[cls]();
+ print(parent + " : says children are of type : " + x.child_type());
}
}
@@
-294,7
+296,7
@@
function BuildLists () {
continue;
}
continue;
}
- if (verifyUsageMethod(parent,child,m
[1
])) {
+ if (verifyUsageMethod(parent,child,m
ethods[i
])) {
return true;
}
}
return true;
}
}