vala r2395 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2395 - in trunk: . gobject
- Date: Tue, 20 Jan 2009 20:42:01 +0000 (UTC)
Author: juergbi
Date: Tue Jan 20 20:42:01 2009
New Revision: 2395
URL: http://svn.gnome.org/viewvc/vala?rev=2395&view=rev
Log:
2009-01-20 JÃrg Billeter <j bitron ch>
* gobject/valaccodebasemodule.vala:
Do not declare public constants as `static'
Modified:
trunk/ChangeLog
trunk/gobject/valaccodebasemodule.vala
Modified: trunk/gobject/valaccodebasemodule.vala
==============================================================================
--- trunk/gobject/valaccodebasemodule.vala (original)
+++ trunk/gobject/valaccodebasemodule.vala Tue Jan 20 20:42:01 2009
@@ -805,11 +805,11 @@
arr = "[]";
}
cdecl.add_declarator (new CCodeVariableDeclarator ("%s%s".printf (c.get_cname (), arr), (CCodeExpression) c.initializer.ccodenode));
- cdecl.modifiers = CCodeModifiers.STATIC;
-
+
if (!c.is_internal_symbol ()) {
header_constant_declaration.append (cdecl);
} else {
+ cdecl.modifiers = CCodeModifiers.STATIC;
source_constant_declaration.append (cdecl);
}
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]