summaryrefslogtreecommitdiff
path: root/src/MediaViewTracker.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
commitf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (patch)
treea1f2ab30332a6383b0677bfcc2aec687b98851d6 /src/MediaViewTracker.vala
parentf8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff)
parentede50c561ec9811704821a9ea0f04c3d6c20b5af (diff)
Merge branch 'release/0.26.4-1'0.26.4-1
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);
}
}
-