summaryrefslogtreecommitdiff
path: root/src/core/ContainerSourceCollection.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-19 05:09:43 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-19 05:09:43 +0200
commit694c7e47ece2cd322b0d2b57b88933a22d2734db (patch)
treec098b2104f1b76db60dd1f50de060c4439437fd8 /src/core/ContainerSourceCollection.vala
parent6824050190585821a13ce0f52d314986a25d6c2a (diff)
parentb076314018e4b53d745823754a26eb6fb73a2801 (diff)
Merge tag 'upstream/0.24.1'
Upstream version 0.24.1
Diffstat (limited to 'src/core/ContainerSourceCollection.vala')
-rw-r--r--src/core/ContainerSourceCollection.vala13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/ContainerSourceCollection.vala b/src/core/ContainerSourceCollection.vala
index a5b0fbc..cf6218a 100644
--- a/src/core/ContainerSourceCollection.vala
+++ b/src/core/ContainerSourceCollection.vala
@@ -18,15 +18,16 @@ public abstract class ContainerSourceCollection : DatabaseSourceCollection {
private Gee.HashSet<ContainerSource> holding_tank = new Gee.HashSet<ContainerSource>();
public virtual signal void container_contents_added(ContainerSource container,
- Gee.Collection<DataSource> added, bool relinked) {
+ Gee.Collection<DataObject> added, bool relinked) {
}
public virtual signal void container_contents_removed(ContainerSource container,
- Gee.Collection<DataSource> removed, bool unlinked) {
+ Gee.Collection<DataObject> removed, bool unlinked) {
}
public virtual signal void container_contents_altered(ContainerSource container,
- Gee.Collection<DataSource>? added, bool relinked, Gee.Collection<DataSource>? removed,
+ Gee.Collection<DataObject>? added, bool relinked,
+ Gee.Collection<DataObject>? removed,
bool unlinked) {
}
@@ -55,7 +56,7 @@ public abstract class ContainerSourceCollection : DatabaseSourceCollection {
}
public virtual void notify_container_contents_added(ContainerSource container,
- Gee.Collection<DataSource> added, bool relinked) {
+ Gee.Collection<DataObject> added, bool relinked) {
// if container is in holding tank, remove it now and relink to collection
if (holding_tank.contains(container)) {
bool removed = holding_tank.remove(container);
@@ -68,12 +69,12 @@ public abstract class ContainerSourceCollection : DatabaseSourceCollection {
}
public virtual void notify_container_contents_removed(ContainerSource container,
- Gee.Collection<DataSource> removed, bool unlinked) {
+ Gee.Collection<DataObject> removed, bool unlinked) {
container_contents_removed(container, removed, unlinked);
}
public virtual void notify_container_contents_altered(ContainerSource container,
- Gee.Collection<DataSource>? added, bool relinked, Gee.Collection<DataSource>? removed,
+ Gee.Collection<DataObject>? added, bool relinked, Gee.Collection<DataSource>? removed,
bool unlinked) {
container_contents_altered(container, added, relinked, removed, unlinked);
}