vala r1881 - in trunk: . gobject



Author: juergbi
Date: Fri Oct 24 09:29:16 2008
New Revision: 1881
URL: http://svn.gnome.org/viewvc/vala?rev=1881&view=rev

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

	* gobject/valaccodeinvocationexpressionbinding.vala:

	Fix constructor chain-up


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

Modified: trunk/gobject/valaccodeinvocationexpressionbinding.vala
==============================================================================
--- trunk/gobject/valaccodeinvocationexpressionbinding.vala	(original)
+++ trunk/gobject/valaccodeinvocationexpressionbinding.vala	Fri Oct 24 09:29:16 2008
@@ -74,7 +74,7 @@
 		}
 
 		CCodeExpression instance;
-		if (m != null && m.binding == MemberBinding.INSTANCE) {
+		if (m != null && m.binding == MemberBinding.INSTANCE && !(m is CreationMethod)) {
 			instance = (CCodeExpression) ma.inner.ccodenode;
 
 			var st = m.parent_symbol as Struct;



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