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

index 1d4b446..52256cb 100644 (file)
@@ -387,7 +387,7 @@ namespace Palete {
                                cc.ns = c.ns;
                                cc.type  =  dt.get_full_name();
                                c.return_value = cc;
-                               
+                               c.type = dt.get_full_name(); // type is really return type in this scenario.
                                 retval = "\treturn " + cc.type +";";
                        }
                        parent.signals.set(sig.name,c);