summaryrefslogtreecommitdiff
path: root/vala/valaswitchsection.vala
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2010-05-04 16:44:15 -0700
committerJürg Billeter <j@bitron.ch>2010-08-04 15:55:07 +0200
commitff63c4b8017beef13d61743c5f6d1edeb997f387 (patch)
tree6ae8c2843219b4562517c221c80df0699ef5011b /vala/valaswitchsection.vala
parentdc694eff6f98ee82411a4af927be53e337b523c9 (diff)
downloadvala-ff63c4b8017beef13d61743c5f6d1edeb997f387.tar.gz
Support null source references in more places
Fixes bug 617713.
Diffstat (limited to 'vala/valaswitchsection.vala')
-rw-r--r--vala/valaswitchsection.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaswitchsection.vala b/vala/valaswitchsection.vala
index 5247f3729..944035c24 100644
--- a/vala/valaswitchsection.vala
+++ b/vala/valaswitchsection.vala
@@ -34,7 +34,7 @@ public class Vala.SwitchSection : Block {
* @param source_reference reference to source code
* @return newly created switch section
*/
- public SwitchSection (SourceReference source_reference) {
+ public SwitchSection (SourceReference? source_reference) {
base (source_reference);
}