[vala/0.10-parallel: 7/46] Fix writing of construct_function attribute
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10-parallel: 7/46] Fix writing of construct_function attribute
- Date: Fri, 10 Sep 2010 16:14:29 +0000 (UTC)
commit 29ab456eab245e09164c30628bec117d7d2a0333
Author: Jürg Billeter <j bitron ch>
Date: Sat Aug 21 18:36:42 2010 +0200
Fix writing of construct_function attribute
vala/valacodewriter.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index f1b9d24..b4b19d7 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -1029,7 +1029,7 @@ public class Vala.CodeWriter : CodeVisitor {
ccode_params.append_printf ("%shas_construct_function = false", separator);
separator = ", ";
} else if (m.name == ".new" && m.get_real_cname () != cm.get_default_construct_function ()) {
- ccode_params.append_printf ("%sconstruct_function = \"%s\"", separator, cm.get_default_construct_function ());
+ ccode_params.append_printf ("%sconstruct_function = \"%s\"", separator, m.get_real_cname ());
separator = ", ";
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]