[vala] girparser: Fix typo when calling element_get_type in parse_parameter



commit e69e61ee48e4081bd106ae4a9171b735cdad8f1b
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Jul 16 19:02:53 2011 +0200

    girparser: Fix typo when calling element_get_type in parse_parameter

 vala/valagirparser.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 5276c8f..2d11096 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -1956,7 +1956,7 @@ public class Vala.GirParser : CodeVisitor {
 			}
 
 			bool changed;
-			type = element_get_type (type, direction == "out" || direction == "ref", ref no_array_length, out changed);
+			type = element_get_type (type, direction == "out" || direction == "inout", ref no_array_length, out changed);
 			if (!changed) {
 				// discard ctype, duplicated information
 				ctype = null;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]