Palete/Gir.vala
authorAlan Knowles <alan@roojs.com>
Tue, 3 Jun 2014 15:34:38 +0000 (23:34 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Jun 2014 15:34:38 +0000 (23:34 +0800)
Palete/Gir.vala

index 5f19c60..fe13efc 100644 (file)
@@ -63,7 +63,9 @@ namespace Palete {
             if (this.params.size > 0) {
                 r.set_object_member("params", this.toJSONObject(this.params));
             }
-             
+            if (this.ctors.size > 0) {
+                r.set_object_member("ctors", this.toJSONObject(this.ctors));
+            }
             if (this.methods.size > 0) {
                 r.set_object_member("methods", this.toJSONObject(this.methods));
             }