[anjuta] language-support-vala: bgo#625964 - fix build with recent vala



commit 0ce4bf0309324d200eca1f1e18b26017f6e99a60
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Aug 5 15:06:45 2010 +0200

    language-support-vala: bgo#625964 - fix build with recent vala

 plugins/language-support-vala/plugin.vala   |    4 ++--
 plugins/language-support-vala/provider.vala |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala
index 271820b..0ba8b80 100644
--- a/plugins/language-support-vala/plugin.vala
+++ b/plugins/language-support-vala/plugin.vala
@@ -256,13 +256,13 @@ public class ValaPlugin : Plugin {
 			result.concat (symbol_lookup_inherited (variable.variable_type.data_type, name, prefix_match));
 		} else if (sym is Vala.Field) {
 			var field = (Vala.Field) sym;
-			result.concat (symbol_lookup_inherited (field.field_type.data_type, name, prefix_match));
+			result.concat (symbol_lookup_inherited (field.variable_type.data_type, name, prefix_match));
 		} else if (sym is Vala.Property) {
 			var prop = (Vala.Property) sym;
 			result.concat (symbol_lookup_inherited (prop.property_type.data_type, name, prefix_match));
 		} else if (sym is Vala.FormalParameter) {
 			var fp = (Vala.FormalParameter) sym;
-			result.concat (symbol_lookup_inherited (fp.parameter_type.data_type, name, prefix_match));
+			result.concat (symbol_lookup_inherited (fp.variable_type.data_type, name, prefix_match));
 		}
 
 		return result;
diff --git a/plugins/language-support-vala/provider.vala b/plugins/language-support-vala/provider.vala
index 0ed0470..647eafd 100644
--- a/plugins/language-support-vala/provider.vala
+++ b/plugins/language-support-vala/provider.vala
@@ -116,7 +116,7 @@ public class ValaProvider : Object, IAnjuta.Provider {
 				if (p.ellipsis) {
 					calltip.append("...");
 				} else {
-					calltip.append (p.parameter_type.to_qualified_string());
+					calltip.append (p.variable_type.to_qualified_string());
 					calltip.append (" ").append (p.name);
 				}
 			}



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