]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Api: Remove ? in signatures of TypeReference to TypeParameters
authorDidier "Ptitjes <ptitjes@free.fr>
Tue, 20 Oct 2009 12:19:21 +0000 (14:19 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Tue, 20 Oct 2009 12:19:21 +0000 (14:19 +0200)
src/libvaladoc/api/typereference.vala

index 610d6b6fbc734e9bff9cf62179d4e3306b22c98f..dc1fdfc4624dd084e3ce32372a662367bf61a4fd 100644 (file)
@@ -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);
                }
        }