JSDOC/Introspect.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 21 Jun 2010 10:19:52 +0000 (18:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 21 Jun 2010 10:19:52 +0000 (18:19 +0800)
JSDOC/Introspect.js

index b54455f..7777c94 100644 (file)
@@ -42,10 +42,10 @@ Object.extend(Introspect, {
             
             while (true) {
                 
             
             while (true) {
                 
-                var fn = GLib.dir_read_name(gdir);
+                var fn = gdir.read_name();
            //      console.log('trying ' +  fn);
                 if (!fn) {
            //      console.log('trying ' +  fn);
                 if (!fn) {
-                    GLib.dir_close(gdir);
+                    gdir.close();
                     return;;
                 }
                 if (!fn.match(/.typelib$/)) {
                     return;;
                 }
                 if (!fn.match(/.typelib$/)) {