vala r2011 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2011 - in trunk: . gobject
- Date: Thu, 13 Nov 2008 13:02:13 +0000 (UTC)
Author: juergbi
Date: Thu Nov 13 13:02:12 2008
New Revision: 2011
URL: http://svn.gnome.org/viewvc/vala?rev=2011&view=rev
Log:
2008-11-13 JÃrg Billeter <j bitron ch>
* gobject/valaccodebasemodule.vala:
Fix copy of constant arrays
Modified:
trunk/ChangeLog
trunk/gobject/valaccodebasemodule.vala
Modified: trunk/gobject/valaccodebasemodule.vala
==============================================================================
--- trunk/gobject/valaccodebasemodule.vala (original)
+++ trunk/gobject/valaccodebasemodule.vala Thu Nov 13 13:02:12 2008
@@ -2259,7 +2259,7 @@
var ccall = new CCodeFunctionCall (dupexpr);
- if (expr != null && expr.is_non_null ()) {
+ if (!(expression_type is ArrayType) && expr != null && expr.is_non_null ()) {
// expression is non-null
ccall.add_argument ((CCodeExpression) expr.ccodenode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]