summaryrefslogtreecommitdiff
path: root/libcaribou/row-model.vala
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2011-06-02 11:08:49 -0700
committerEitan Isaacson <eitan@monotonous.org>2011-06-02 11:08:49 -0700
commit843bb24cc3383ff11d76f81f956ef2cfe7ce13cb (patch)
treee6a939b465b9a12f70212cbc396d33dc289e0eb6 /libcaribou/row-model.vala
parent33f0c869983b390ae4ba53c60f6cb17389c6739d (diff)
downloadcaribou-843bb24cc3383ff11d76f81f956ef2cfe7ce13cb.tar.gz
Revert "libcaribou: Use GLib.List instead of arrays"
gjs learned to cope with arrays. Let's not introduce GLists, Vala hates them. This reverts commit 33f0c869983b390ae4ba53c60f6cb17389c6739d.
Diffstat (limited to 'libcaribou/row-model.vala')
-rw-r--r--libcaribou/row-model.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcaribou/row-model.vala b/libcaribou/row-model.vala
index 4020fe3..7aac08e 100644
--- a/libcaribou/row-model.vala
+++ b/libcaribou/row-model.vala
@@ -27,8 +27,8 @@ namespace Caribou {
column.add_key (key);
}
- public List<ColumnModel> get_columns () {
- return (List<ColumnModel>) get_children ();
+ public ColumnModel[] get_columns () {
+ return (ColumnModel[]) columns.to_array ();
}
public override IScannableItem[] get_scan_children () {
@@ -38,8 +38,8 @@ namespace Caribou {
return (IScannableItem[]) columns.to_array ();
}
- public List<IKeyboardObject> get_children () {
- return (List<IKeyboardObject>) collection_to_object_list (columns);
+ public IKeyboardObject[] get_children () {
+ return (IKeyboardObject[]) get_columns ();
}
}
}