src/Palete/GirObject.vala
authorAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:51:32 +0000 (16:51 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:51:32 +0000 (16:51 +0800)
src/Palete/GirObject.vala

index 5588859..829180a 100644 (file)
@@ -440,7 +440,9 @@ namespace Palete {
                        
                        if (this.nodetype.down() == "signal") { // gtk is Signal, roo is signal??
                                // when we add properties, they are actually listeners attached to signals
-                               return new JsRender.NodeProp.listener(this.name, this.sig); 
+                               var r =new JsRender.NodeProp.listener(this.name, this.sig);  
+                               r.rtype = this.type;
+                               return r;
                        }
                        
                        // does not handle Enums... - no need to handle anything else.