vala r2040 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2040 - in trunk: . gobject
- Date: Thu, 20 Nov 2008 20:56:35 +0000 (UTC)
Author: juergbi
Date: Thu Nov 20 20:56:35 2008
New Revision: 2040
URL: http://svn.gnome.org/viewvc/vala?rev=2040&view=rev
Log:
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
Modified:
trunk/ChangeLog
trunk/gobject/valaccodemethodcallmodule.vala
Modified: trunk/gobject/valaccodemethodcallmodule.vala
==============================================================================
--- trunk/gobject/valaccodemethodcallmodule.vala (original)
+++ trunk/gobject/valaccodemethodcallmodule.vala Thu Nov 20 20:56:35 2008
@@ -383,7 +383,9 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]