]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Make argument of NullType constructor nullable
authorEvan Nemerson <evan@coeus-group.com>
Thu, 8 Apr 2010 04:42:52 +0000 (21:42 -0700)
committerJürg Billeter <j@bitron.ch>
Wed, 21 Apr 2010 12:37:55 +0000 (14:37 +0200)
vala/valanulltype.vala

index cbe0419535c3950e826f034a299e733360e0fff7..ca2bce61f740450b4ffed3e7b708261129728c3f 100644 (file)
@@ -26,7 +26,7 @@ using GLib;
  * The type of the null literal.
  */
 public class Vala.NullType : ReferenceType {
-       public NullType (SourceReference source_reference) {
+       public NullType (SourceReference? source_reference) {
                this.nullable = true;
                this.source_reference = source_reference;
        }