diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:08:19 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-19 05:08:19 +0200 |
commit | b076314018e4b53d745823754a26eb6fb73a2801 (patch) | |
tree | a834cd64830068f988fda00b25578578ee096363 /src/core/ContainerSourceCollection.vala | |
parent | b67c4ba420286470899a63ff8b2fbbfdc17d082c (diff) |
New upstream version 0.24.1upstream/0.24.1
Diffstat (limited to 'src/core/ContainerSourceCollection.vala')
-rw-r--r-- | src/core/ContainerSourceCollection.vala | 13 |
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); } |