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

index d95bdbf..0554592 100644 (file)
@@ -447,7 +447,7 @@ 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(".")) {
+                       if (this.type.contains(".") || this.type.down() == "function") {
                                return  new JsRender.NodeProp.raw(this.name, this.type, def);
                        }