tools/build_gtk_tree.js
[app.Builder.js] / tools / build_gtk_tree.js
index e6d70ba..c245843 100644 (file)
@@ -276,7 +276,13 @@ function BuildLists () {
         if (method !='Gtk.Container:add') {
             return true;
         }
+        
         var cls = parent.split('.').pop();
+        
+        if (parent = 'Gtk.Bin' || methods['Gtk.Bin'].extendsClasses.indexOf(parent) > -1) {
+            return false;
+        }
+        
         print("TRY ctor:  " + parent );
 
         var x = new imports.gi.Gtk[cls]();