summaryrefslogtreecommitdiff
path: root/vala/valapointertype.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-10-19 13:01:04 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-09-30 14:42:58 +0200
commit061c02a91056b2f8c8b4cc985db4aec9c0a235fc (patch)
tree32a66908183d59f04c77b1f4db204e5c482924d5 /vala/valapointertype.vala
parent2b00c992ed8f5ac900131f17a995abf992c20d64 (diff)
downloadvala-061c02a91056b2f8c8b4cc985db4aec9c0a235fc.tar.gz
vala: Rename DataType.data_type property to DataType.type_symbol
Diffstat (limited to 'vala/valapointertype.vala')
-rw-r--r--vala/valapointertype.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valapointertype.vala b/vala/valapointertype.vala
index 01d759eda..ee2864fbd 100644
--- a/vala/valapointertype.vala
+++ b/vala/valapointertype.vala
@@ -69,7 +69,7 @@ public class Vala.PointerType : DataType {
return base_type.compatible (tt.base_type);
}
- if ((target_type.data_type != null && target_type.data_type.get_attribute ("PointerType") != null)) {
+ if ((target_type.type_symbol != null && target_type.type_symbol.get_attribute ("PointerType") != null)) {
return true;
}
@@ -83,7 +83,7 @@ public class Vala.PointerType : DataType {
return base_type.compatible (target_type);
}
- if (CodeContext.get ().profile == Profile.GOBJECT && target_type.data_type != null && target_type.data_type.is_subtype_of (CodeContext.get ().analyzer.gvalue_type.data_type)) {
+ if (CodeContext.get ().profile == Profile.GOBJECT && target_type.type_symbol != null && target_type.type_symbol.is_subtype_of (CodeContext.get ().analyzer.gvalue_type.type_symbol)) {
// allow implicit conversion to GValue
return true;
}
@@ -96,7 +96,7 @@ public class Vala.PointerType : DataType {
}
public override Symbol? get_pointer_member (string member_name) {
- Symbol base_symbol = base_type.data_type;
+ Symbol base_symbol = base_type.type_symbol;
if (base_symbol == null) {
return null;