From: Didier "Ptitjes Date: Tue, 20 Oct 2009 12:19:21 +0000 (+0200) Subject: Api: Remove ? in signatures of TypeReference to TypeParameters X-Git-Tag: 0.37.1~3^2~536 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71abd08207916b74defa86cb6f59caa886ca0e0b;p=thirdparty%2Fvala.git Api: Remove ? in signatures of TypeReference to TypeParameters --- diff --git a/src/libvaladoc/api/typereference.vala b/src/libvaladoc/api/typereference.vala index 610d6b6fb..dc1fdfc46 100644 --- a/src/libvaladoc/api/typereference.vala +++ b/src/libvaladoc/api/typereference.vala @@ -144,7 +144,9 @@ public class Valadoc.Api.TypeReference : Item { public bool is_nullable { get { - return this.vtyperef.nullable && this.vtyperef is Vala.PointerType == false; + return this.vtyperef.nullable + && !(this.vtyperef is Vala.GenericType) + && !(this.vtyperef is Vala.PointerType); } }