2008-11-20 Jürg Billeter <j@bitron.ch>
* gobject/valaccodemethodcallmodule.vala:
Fix base access to virtual signal handlers with return values,
fixes bug 538901
svn path=/trunk/; revision=2040
+2008-11-20 Jürg Billeter <j@bitron.ch>
+
+ * gobject/valaccodemethodcallmodule.vala:
+
+ Fix base access to virtual signal handlers with return values,
+ fixes bug 538901
+
2008-11-20 Jürg Billeter <j@bitron.ch>
* vala/Makefile.am:
if (itype is SignalType && !(itype.get_return_type () is VoidType)) {
var sig = ((SignalType) itype).signal_symbol;
- if (!sig.has_emitter) {
+ if (ma != null && ma.inner is BaseAccess && sig.is_virtual) {
+ // normal return value for base access
+ } else if (!sig.has_emitter) {
var temp_var = get_temp_variable (itype.get_return_type ());
var temp_ref = new CCodeIdentifier (temp_var.name);