summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
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);