]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Mark source_reference parameter in creation method as nullable
authorJürg Billeter <j@bitron.ch>
Mon, 7 Jul 2008 12:45:21 +0000 (12:45 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 7 Jul 2008 12:45:21 +0000 (12:45 +0000)
2008-07-07  Jürg Billeter  <j@bitron.ch>

* vala/valaproperty.vala:

Mark source_reference parameter in creation method as nullable

svn path=/trunk/; revision=1682

ChangeLog
vala/valaproperty.vala

index ef493f10ba12ac2df8a552e89ea53124857bff3e..d055d7cb401021abe4368373b8b868c2e856850b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-07  Jürg Billeter  <j@bitron.ch>
+
+       * vala/valaproperty.vala:
+
+       Mark source_reference parameter in creation method as nullable
+
 2008-07-07  Jürg Billeter  <j@bitron.ch>
 
        * vala/valacharacterliteral.vala:
index cc277e3ea0c3c91f050d95c0259bf4da18ccf791..2eb0c77ea60d9d2ea6d6c1d0d816b10e04a4b530 100644 (file)
@@ -174,7 +174,7 @@ public class Vala.Property : Member, Lockable {
         * @param source       reference to source code
         * @return             newly created property
         */
-       public Property (string name, DataType property_type, PropertyAccessor? get_accessor, PropertyAccessor? set_accessor, SourceReference source_reference) {
+       public Property (string name, DataType property_type, PropertyAccessor? get_accessor, PropertyAccessor? set_accessor, SourceReference? source_reference = null) {
                this.name = name;
                this.property_type = property_type;
                this.get_accessor = get_accessor;