vala r1937 - in trunk: . vala



Author: juergbi
Date: Tue Oct 28 18:47:10 2008
New Revision: 1937
URL: http://svn.gnome.org/viewvc/vala?rev=1937&view=rev

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

	* vala/valainterfacewriter.vala:

	Don't sort struct fields in vapi files to fix struct
	initialization, patch by Hans Vercammen


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

Modified: trunk/vala/valainterfacewriter.vala
==============================================================================
--- trunk/vala/valainterfacewriter.vala	(original)
+++ trunk/vala/valainterfacewriter.vala	Tue Oct 28 18:47:10 2008
@@ -331,7 +331,9 @@
 
 		current_scope = st.scope;
 
-		visit_sorted (st.get_fields ());
+		foreach (Field field in st.get_fields ()) {
+			field.accept (this);
+		}
 		visit_sorted (st.get_constants ());
 		visit_sorted (st.get_methods ());
 



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