tops[ch] = [ '*top' ];
});
for(var cls in methods) {
+ if (cls =='Gtk.Builder') {
+ continue;
+ }
for (var par in methods[cls].can_be_added_to_as) {
+
if (typeof(usage[par]) == 'undefined') {
usage[par] = [];
}
}
}
function canTop(cls, rec) {
+
rec = rec || 0;
+ //print('CANTOP: ' + cls + ' =' + rec);
if (rec > 5) {
- print('SKIP : ' + cls);
+ // print('SKIP : ' + cls);
}
if (typeof(tops[cls]) == 'undefined') {
return false;
if (cls == tops[cls][i]) {
continue;
}
- if (canTop(cls, rec+1)) {
+ if (canTop(tops[cls][i], rec+1)) {
return true;
}
}