vala r1700 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1700 - in trunk: . vala
- Date: Wed, 16 Jul 2008 22:04:50 +0000 (UTC)
Author: juergbi
Date: Wed Jul 16 22:04:50 2008
New Revision: 1700
URL: http://svn.gnome.org/viewvc/vala?rev=1700&view=rev
Log:
2008-07-17 JÃrg Billeter <j bitron ch>
* vala/valainterfacewriter.vala:
Fix support for static and class fields in interface writer,
based on patch by Daniel Lucraft, fixes bug 542879
Modified:
trunk/ChangeLog
trunk/THANKS
trunk/vala/valainterfacewriter.vala
Modified: trunk/THANKS
==============================================================================
--- trunk/THANKS (original)
+++ trunk/THANKS Wed Jul 16 22:04:50 2008
@@ -10,6 +10,7 @@
Cayle Graumann
Christian Meyer
Cyril Soldani
+Daniel Lucraft
Daniel Silverstone
Daniel Svensson
David Keijser
Modified: trunk/vala/valainterfacewriter.vala
==============================================================================
--- trunk/vala/valainterfacewriter.vala (original)
+++ trunk/vala/valainterfacewriter.vala Wed Jul 16 22:04:50 2008
@@ -563,6 +563,12 @@
write_indent ();
write_accessibility (f);
+ if (f.binding == MemberBinding.STATIC) {
+ write_string ("static ");
+ } else if (f.binding == MemberBinding.CLASS) {
+ write_string ("class ");
+ }
+
if (is_weak (f.field_type)) {
write_string ("weak ");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]