[introspection-doc-generator] Sync API with GLib GDir head



commit 649a91296eb2d7e5cbd4d1407deb9c1fa714229f
Author: Alan Knowles <alan akkbhome com>
Date:   Tue Jun 22 22:18:29 2010 +0800

    Sync API with GLib GDir head

 xnew.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xnew.js b/xnew.js
index 1d87d33..5096012 100644
--- a/xnew.js
+++ b/xnew.js
@@ -108,10 +108,10 @@ var xnew = {
         
         while (true) {
             
-            var fn = GLib.dir_read_name(gdir);
+            var fn = gdir.read_name();
             //console.log('trying ' + path + '/' + fn);
             if (!fn) {
-                GLib.dir_close(gdir);
+                gdir.close();
                 return;
             }
             if (!fn.match(/.js$/)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]