vala r928 - in trunk: . vala



Author: juergbi
Date: Wed Jan 30 16:01:16 2008
New Revision: 928
URL: http://svn.gnome.org/viewvc/vala?rev=928&view=rev

Log:
2008-01-30  Juerg Billeter  <j bitron ch>

	* vala/valainterfacewriter.vala: output # for properties transferring
	  ownership


Modified:
   trunk/ChangeLog
   trunk/vala/valainterfacewriter.vala

Modified: trunk/vala/valainterfacewriter.vala
==============================================================================
--- trunk/vala/valainterfacewriter.vala	(original)
+++ trunk/vala/valainterfacewriter.vala	Wed Jan 30 16:01:16 2008
@@ -589,7 +589,11 @@
 		}
 
 		write_type (prop.type_reference);
-			
+
+		if (prop.type_reference.transfers_ownership) {
+			write_string ("#");
+		}
+
 		write_string (" ");
 		write_identifier (prop.name);
 		write_string (" {");



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