summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.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/MediaDataRepresentation.vala
parent6824050190585821a13ce0f52d314986a25d6c2a (diff)
parentb076314018e4b53d745823754a26eb6fb73a2801 (diff)
Merge tag 'upstream/0.24.1'
Upstream version 0.24.1
Diffstat (limited to 'src/MediaDataRepresentation.vala')
-rw-r--r--src/MediaDataRepresentation.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MediaDataRepresentation.vala b/src/MediaDataRepresentation.vala
index f01f147..484404c 100644
--- a/src/MediaDataRepresentation.vala
+++ b/src/MediaDataRepresentation.vala
@@ -400,8 +400,8 @@ public abstract class MediaSourceCollection : DatabaseSourceCollection {
public static void count_media(Gee.Collection<MediaSource> media, out int photo_count,
out int video_count) {
- Gee.ArrayList<MediaSource> photos = new Gee.ArrayList<MediaSource>();
- Gee.ArrayList<MediaSource> videos = new Gee.ArrayList<MediaSource>();
+ var photos = new Gee.ArrayList<LibraryPhoto>();
+ var videos = new Gee.ArrayList<Video>();
filter_media(media, photos, videos);