diff options
author | Juerg Billeter <j@bitron.ch> | 2008-04-13 19:01:07 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-04-13 19:01:07 +0000 |
commit | 3c5158fe2fe47fb84e8b6c86e46852afa1f6291a (patch) | |
tree | fe019ee827f8d2d95ca7350a0a013fc31d6e8eb5 /vala/valaswitchlabel.vala | |
parent | 2c3dc37cdbb2ccd9ec5b1a78fe104b0accbf4013 (diff) | |
download | vala-3c5158fe2fe47fb84e8b6c86e46852afa1f6291a.tar.gz |
fix build when using non-null types
2008-04-13 Juerg Billeter <j@bitron.ch>
* */*.vala: fix build when using non-null types
svn path=/trunk/; revision=1212
Diffstat (limited to 'vala/valaswitchlabel.vala')
-rw-r--r-- | vala/valaswitchlabel.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valaswitchlabel.vala b/vala/valaswitchlabel.vala index e8fc654a3..a8ef91036 100644 --- a/vala/valaswitchlabel.vala +++ b/vala/valaswitchlabel.vala @@ -38,7 +38,7 @@ public class Vala.SwitchLabel : CodeNode { * @param source reference to source code * @return newly created switch case label */ - public SwitchLabel (Expression expr, SourceReference source = null) { + public SwitchLabel (Expression expr, SourceReference? source = null) { expression = expr; source_reference = source; } @@ -49,7 +49,7 @@ public class Vala.SwitchLabel : CodeNode { * @param source reference to source code * @return newly created switch default label */ - public SwitchLabel.with_default (SourceReference source = null) { + public SwitchLabel.with_default (SourceReference? source = null) { source_reference = source; } |