summaryrefslogtreecommitdiff
path: root/src/core/ViewCollection.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ViewCollection.vala')
-rw-r--r--src/core/ViewCollection.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ViewCollection.vala b/src/core/ViewCollection.vala
index ce6fcaf..7e13fb0 100644
--- a/src/core/ViewCollection.vala
+++ b/src/core/ViewCollection.vala
@@ -646,7 +646,8 @@ public class ViewCollection : DataCollection {
}
public override void items_altered(Gee.Map<DataObject, Alteration> map) {
- filter_altered_items(map.keys);
+ // Cast - our DataObjects are DataViews.
+ filter_altered_items((Gee.Collection<DataView>)map.keys);
base.items_altered(map);
}