diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-04 12:40:53 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-04 12:57:02 +0100 |
commit | 0b869f28575deb15a1a54d102a3925f7ab80dcef (patch) | |
tree | 8334a5669b5d733242ac5464e803b82d5bb97f8c /vala/valaunresolvedtype.vala | |
parent | 974f5713150b13a657f47e1b6f54135d8328ab01 (diff) | |
download | vala-0b869f28575deb15a1a54d102a3925f7ab80dcef.tar.gz |
vala: Use is_weak() for type-arguments in DataType.to_qualified_string()
Diffstat (limited to 'vala/valaunresolvedtype.vala')
-rw-r--r-- | vala/valaunresolvedtype.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaunresolvedtype.vala b/vala/valaunresolvedtype.vala index 84244809c..2185f1de2 100644 --- a/vala/valaunresolvedtype.vala +++ b/vala/valaunresolvedtype.vala @@ -99,7 +99,7 @@ public class Vala.UnresolvedType : DataType { } else { first = false; } - if (!type_arg.value_owned) { + if (type_arg.is_weak ()) { s += "weak "; } s += type_arg.to_qualified_string (scope); |