Palete/Gir.vala
authorAlan Knowles <alan@akbkhome.com>
Thu, 11 Sep 2014 15:31:44 +0000 (23:31 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 11 Sep 2014 15:31:44 +0000 (23:31 +0800)
Palete/Gir.vala

index de5d400..38cc19f 100644 (file)
@@ -189,7 +189,7 @@ namespace Palete {
                public string fqn() {
                        // not sure if fqn really is correct here...
                        // 
-                       return this.type == "Class" ? this.name : (this.ns + this.name);
+                       return this.nodetype == "Class" ? this.name : (this.ns + this.name);
                }
                
                public void copyFrom(GirObject pcls, bool is_interface)