tools/build_gtk_tree.js
authorAlan Knowles <alan@roojs.com>
Fri, 10 Aug 2012 02:46:10 +0000 (10:46 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 10 Aug 2012 02:46:10 +0000 (10:46 +0800)
tools/build_gtk_tree.js

index d053dfa..109c7dd 100644 (file)
@@ -277,7 +277,7 @@ function BuildLists () {
             return true;
         }
         var cls = parent.split('.').pop();
-        var x = new Gtk[cls]();
+        var x = new imports.gi.Gtk[cls]();
         print(parent + " : says children are of type : " + x.child_type());
         return true;