summaryrefslogtreecommitdiff
path: root/libcaribou/level-model.vala
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2011-06-02 09:53:27 -0700
committerEitan Isaacson <eitan@monotonous.org>2011-06-02 09:53:27 -0700
commit8bd157c10cb64f3cdc9ac225998e3d3eee5b1ee2 (patch)
treee6a939b465b9a12f70212cbc396d33dc289e0eb6 /libcaribou/level-model.vala
parentf9b5337ba45f7c2a0ffe6c302d8a7f3a7f4fa635 (diff)
downloadcaribou-8bd157c10cb64f3cdc9ac225998e3d3eee5b1ee2.tar.gz
Remove redundant get_keys() from subclasses.
Diffstat (limited to 'libcaribou/level-model.vala')
-rw-r--r--libcaribou/level-model.vala12
1 files changed, 0 insertions, 12 deletions
diff --git a/libcaribou/level-model.vala b/libcaribou/level-model.vala
index dc6917e..0d209d3 100644
--- a/libcaribou/level-model.vala
+++ b/libcaribou/level-model.vala
@@ -42,18 +42,6 @@ namespace Caribou {
key_activated (key);
}
- public KeyModel[] get_keys () {
- Gee.ArrayList<KeyModel> keys = new Gee.ArrayList<KeyModel> ();
- foreach (RowModel row in rows) {
- KeyModel[] row_keys = row.get_keys();
- foreach (KeyModel key in row_keys) {
- keys.add(key);
- }
- }
-
- return (KeyModel[]) keys.to_array ();
- }
-
public override IScannableItem[] get_scan_children () {
if (scan_grouping == ScanGrouping.LINEAR)
return (IScannableItem[]) get_keys ();