summaryrefslogtreecommitdiff
path: root/codegen/valaccodememberaccessmodule.vala
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2011-01-17 09:58:24 +0100
committerJürg Billeter <j@bitron.ch>2011-01-19 20:00:53 +0100
commit53e42b592793b04e3dd5c7a14a453b19c6dd5d7f (patch)
tree5cc0fab6d1c272972671cbb92487cb979a56a60d /codegen/valaccodememberaccessmodule.vala
parent1291020fed75d925926b28206e935de8eb9cfc96 (diff)
downloadvala-53e42b592793b04e3dd5c7a14a453b19c6dd5d7f.tar.gz
codegen: Add CCodeFunction.add_assignment convenience function
Diffstat (limited to 'codegen/valaccodememberaccessmodule.vala')
-rw-r--r--codegen/valaccodememberaccessmodule.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/valaccodememberaccessmodule.vala b/codegen/valaccodememberaccessmodule.vala
index 1f7a1ff36..bad542dca 100644
--- a/codegen/valaccodememberaccessmodule.vala
+++ b/codegen/valaccodememberaccessmodule.vala
@@ -436,7 +436,7 @@ public abstract class Vala.CCodeMemberAccessModule : CCodeControlFlowModule {
ccall.add_argument (new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, ctemp));
ccode.add_expression (ccall);
} else {
- ccode.add_expression (new CCodeAssignment (ctemp, ccall));
+ ccode.add_assignment (ctemp, ccall);
array_type = base_property.property_type as ArrayType;
if (array_type != null && !base_property.no_array_length) {