vala r1924 - in trunk: . gobject



Author: juergbi
Date: Sat Oct 25 16:26:56 2008
New Revision: 1924
URL: http://svn.gnome.org/viewvc/vala?rev=1924&view=rev

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

	* gobject/valaccodegenerator.vala:

	Fix parameter position for errors in delegate wrappers


Modified:
   trunk/ChangeLog
   trunk/gobject/valaccodegenerator.vala

Modified: trunk/gobject/valaccodegenerator.vala
==============================================================================
--- trunk/gobject/valaccodegenerator.vala	(original)
+++ trunk/gobject/valaccodegenerator.vala	Sat Oct 25 16:26:56 2008
@@ -3925,7 +3925,7 @@
 
 		if (m.get_error_types ().size > 0) {
 			var cparam = new CCodeFormalParameter ("error", "GError**");
-			cparam_map.set (get_param_pos (-1), cparam);
+			cparam_map.set (get_param_pos (-2), cparam);
 		}
 
 		// append C parameters in the right order



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