summaryrefslogtreecommitdiff
path: root/vapigen
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2011-06-04 18:21:08 +0200
committerLuca Bruno <lucabru@src.gnome.org>2011-06-04 18:21:08 +0200
commitc183c0992f9c6fbaff0f61431dd73ecc347c7e22 (patch)
tree6f43371d94c3d19b4492cc0f1ef476117cea0cc3 /vapigen
parent2ea1145919c2fb341f03cc6c8642bc5e9eb0eb82 (diff)
downloadvala-c183c0992f9c6fbaff0f61431dd73ecc347c7e22.tar.gz
Move custom_return_type_cname CCode attribute down to Method
Diffstat (limited to 'vapigen')
-rw-r--r--vapigen/valagidlparser.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index 6fe0dc5d5..a1aa1ad51 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -2018,7 +2018,7 @@ public class Vala.GIdlParser : CodeVisitor {
// return type.
if (current_data_type is Class && res != null) {
if ("%s*".printf (current_data_type.get_cname()) != res.type.unparsed) {
- ((CreationMethod)m).custom_return_type_cname = res.type.unparsed;
+ m.custom_return_type_cname = res.type.unparsed;
}
}
} else {