From: Alan Knowles Date: Mon, 21 Jun 2010 10:19:52 +0000 (+0800) Subject: JSDOC/Introspect.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=bf1653b60d77386954fa54c8c285031ee27f3a27 JSDOC/Introspect.js --- diff --git a/JSDOC/Introspect.js b/JSDOC/Introspect.js index b54455f..7777c94 100644 --- a/JSDOC/Introspect.js +++ b/JSDOC/Introspect.js @@ -42,10 +42,10 @@ Object.extend(Introspect, { while (true) { - var fn = GLib.dir_read_name(gdir); + var fn = gdir.read_name(); // console.log('trying ' + fn); if (!fn) { - GLib.dir_close(gdir); + gdir.close(); return;; } if (!fn.match(/.typelib$/)) {