diff options
author | Juerg Billeter <j@bitron.ch> | 2008-04-13 15:44:44 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-04-13 15:44:44 +0000 |
commit | 206cd6716043d886c6531ca358f5b442c5ea991e (patch) | |
tree | 0d277104d825ce27f0aefa6734071809aabbf1b5 /ccode/valaccodeconstant.vala | |
parent | 67916b6274ed6dfbc0200cca77a52f1f21848486 (diff) | |
download | vala-206cd6716043d886c6531ca358f5b442c5ea991e.tar.gz |
report warning when using obsolete syntax for non-null types
2008-04-13 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: report warning when using obsolete syntax
for non-null types
* */*.vala, */*.vapi: port to new syntax
svn path=/trunk/; revision=1208
Diffstat (limited to 'ccode/valaccodeconstant.vala')
-rw-r--r-- | ccode/valaccodeconstant.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ccode/valaccodeconstant.vala b/ccode/valaccodeconstant.vala index 15fff0fde..b4d9b1917 100644 --- a/ccode/valaccodeconstant.vala +++ b/ccode/valaccodeconstant.vala @@ -29,13 +29,13 @@ public class Vala.CCodeConstant : CCodeExpression { /** * The name of this constant. */ - public string! name { get; set construct; } + public string name { get; set construct; } - public CCodeConstant (string! _name) { + public CCodeConstant (string _name) { name = _name; } - public override void write (CCodeWriter! writer) { + public override void write (CCodeWriter writer) { writer.write_string (name); } } |