src/Palete/GirObject.vala
authorAlan <alan@roojs.com>
Tue, 28 Jun 2022 09:07:00 +0000 (17:07 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Jun 2022 09:07:00 +0000 (17:07 +0800)
src/Palete/GirObject.vala

index 829180a..8b0b695 100644 (file)
@@ -447,7 +447,10 @@ namespace Palete {
                        
                        // does not handle Enums... - no need to handle anything else.
                        var def = this.type.contains(".") ?  "" :  Gir.guessDefaultValueForType(this.type);
-                        
+                       if (this.type.contains(".")) {
+                               
+                               return  new JsRender.NodeProp.raw(this.name, this.type, def);
+                       }
                        
                        return  new JsRender.NodeProp.prop(this.name, this.type, def); // signature?