Fix generation of docs
[gnome.introspection-doc-generator] / docs.js
diff --git a/docs.js b/docs.js
index 2361042..10f1f11 100644 (file)
--- a/docs.js
+++ b/docs.js
@@ -71,7 +71,7 @@ ns_list.map(function(ns_name)
         
     };
     for (var i in actions) {
-        ns.objects.map( function(n) {
+        ns[i].map( function(n) {
             Gio.simple_write(outputdir + '/'+ ns_name + '.' + n + '.html', 
                 cls_template.process(
                     Object.extend(