summaryrefslogtreecommitdiff
path: root/vala/valaswitchstatement.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valaswitchstatement.vala')
-rw-r--r--vala/valaswitchstatement.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valaswitchstatement.vala b/vala/valaswitchstatement.vala
index ddfbed191..83cec8398 100644
--- a/vala/valaswitchstatement.vala
+++ b/vala/valaswitchstatement.vala
@@ -70,8 +70,8 @@ public class Vala.SwitchStatement : CodeNode, Statement {
*
* @return section list
*/
- public Collection<SwitchSection> get_sections () {
- return new ReadOnlyCollection<SwitchSection> (sections);
+ public Gee.List<SwitchSection> get_sections () {
+ return new ReadOnlyList<SwitchSection> (sections);
}
public override void accept (CodeVisitor visitor) {