tools/build_gtk_tree.js
authorAlan Knowles <alan@roojs.com>
Thu, 9 Aug 2012 05:39:31 +0000 (13:39 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 9 Aug 2012 05:39:31 +0000 (13:39 +0800)
tools/build_gtk_tree.js

index 8468871..97b8756 100644 (file)
@@ -132,7 +132,7 @@ function BuildLists () {
                 
                
                 // in theory you can not add a window to anything.. ???
-                if (Gtk.Window == addable_type || methods[addable_type].extendsClasses.indexOf('Gtk.Window') > -1) {
+                if ('Gtk.Window' == addable_type || methods[addable_type].extendsClasses.indexOf('Gtk.Window') > -1) {
                     return;
                 }
         //