From: Alan Knowles Date: Fri, 10 Aug 2012 03:54:06 +0000 (+0800) Subject: tools/build_gtk_tree.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=5686bd0039c86b64f0d373961dc0bb4b9af954a0 tools/build_gtk_tree.js --- diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index f4539541b..be335d418 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -278,13 +278,15 @@ function BuildLists () { } var cls = parent.split('.').pop(); + if (parent == 'Gtk.Bin' || methods['Gtk.Bin'].extendsClasses.indexOf(parent) > -1) { return false; } - if (parent == 'GtkSource.CompletionInfo') { + if (['GtkSource.CompletionInfo', 'Gtk.MenuShell'].indexOf(parent) > -1) { return false; } + print("TRY ctor: " + parent ); var x = new imports.gi.Gtk[cls]();