vala r1682 - in trunk: . vala



Author: juergbi
Date: Mon Jul  7 12:45:21 2008
New Revision: 1682
URL: http://svn.gnome.org/viewvc/vala?rev=1682&view=rev

Log:
2008-07-07  JÃrg Billeter  <j bitron ch>

	* vala/valaproperty.vala:

	Mark source_reference parameter in creation method as nullable


Modified:
   trunk/ChangeLog
   trunk/vala/valaproperty.vala

Modified: trunk/vala/valaproperty.vala
==============================================================================
--- trunk/vala/valaproperty.vala	(original)
+++ trunk/vala/valaproperty.vala	Mon Jul  7 12:45:21 2008
@@ -174,7 +174,7 @@
 	 * @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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]