summaryrefslogtreecommitdiff
path: root/src/MediaViewTracker.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:55:20 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:55:20 +0100
commitf6140ff1c9ec493d947da5b346508846e7a1a06f (patch)
treec01b9164ee4b0d46b6670ccee45f6181c6237d7f /src/MediaViewTracker.vala
parent0f67b3cc674377559e66c5a6729fd499049a992f (diff)
parent2492891f112caac6076ce49721d9d5d78a152c3a (diff)
Update upstream source from tag 'upstream/0.26.4'
Update to upstream version '0.26.4' with Debian dir fae3cc48a8ec2f37979206f90dc828cbebee14c4
Diffstat (limited to 'src/MediaViewTracker.vala')
-rw-r--r--src/MediaViewTracker.vala7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/MediaViewTracker.vala b/src/MediaViewTracker.vala
index 27fcf4a..ee96339 100644
--- a/src/MediaViewTracker.vala
+++ b/src/MediaViewTracker.vala
@@ -34,8 +34,7 @@ public class MediaAccumulator : Object, Core.TrackerAccumulator {
raw++;
}
- if (photo.get_master_file_format() != PhotoFileFormat.RAW ||
- photo.is_raw_developer_available(RawDeveloper.CAMERA)) {
+ if (photo.get_master_file_format() != PhotoFileFormat.RAW) {
photos++;
}
} else if (source is VideoSource) {
@@ -67,8 +66,7 @@ public class MediaAccumulator : Object, Core.TrackerAccumulator {
raw--;
}
- if (photo.get_master_file_format() != PhotoFileFormat.RAW ||
- photo.is_raw_developer_available(RawDeveloper.CAMERA)) {
+ if (photo.get_master_file_format() != PhotoFileFormat.RAW) {
assert(photos > 0);
photos--;
}
@@ -111,4 +109,3 @@ public class MediaAccumulator : Object, Core.TrackerAccumulator {
return "%d photos/%d videos/%d raw/%d flagged".printf(photos, videos, raw, flagged);
}
}
-