summaryrefslogtreecommitdiff
path: root/libvaladoc
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-02-16 19:41:45 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-09-30 14:43:00 +0200
commit72b187a223086f7c527b246ef0080fa93ed4f26f (patch)
treeaa37040c85319812cc167c0a561f3e332d4d274e /libvaladoc
parenta6bdd4c53b371a979d6ff68c2a81f53e570853d6 (diff)
downloadvala-72b187a223086f7c527b246ef0080fa93ed4f26f.tar.gz
valadoc: Follow rename of DataType data_type property to type_symbol
Diffstat (limited to 'libvaladoc')
-rw-r--r--libvaladoc/api/typereference.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvaladoc/api/typereference.vala b/libvaladoc/api/typereference.vala
index 47bf5efc4..285c7d734 100644
--- a/libvaladoc/api/typereference.vala
+++ b/libvaladoc/api/typereference.vala
@@ -74,8 +74,8 @@ public class Valadoc.Api.TypeReference : Item {
}
// non ref counted types are weak, not unowned
- if (element.data_type is Vala.TypeSymbol
- && is_reference_counting ((Vala.TypeSymbol) element.data_type) == true)
+ if (element.type_symbol is Vala.TypeSymbol
+ && is_reference_counting ((Vala.TypeSymbol) element.type_symbol) == true)
{
return false;
}
@@ -110,8 +110,8 @@ public class Valadoc.Api.TypeReference : Item {
}
// non ref counted types are unowned, not weak
- if (element.data_type is Vala.TypeSymbol
- && is_reference_counting ((Vala.TypeSymbol) element.data_type) == false)
+ if (element.type_symbol is Vala.TypeSymbol
+ && is_reference_counting ((Vala.TypeSymbol) element.type_symbol) == false)
{
return false;
}