diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-15 20:38:57 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-15 20:38:57 +0100 |
commit | f1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (patch) | |
tree | a1f2ab30332a6383b0677bfcc2aec687b98851d6 /src/MediaViewTracker.vala | |
parent | f8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff) | |
parent | ede50c561ec9811704821a9ea0f04c3d6c20b5af (diff) |
Merge branch 'release/0.26.4-1'0.26.4-1
Diffstat (limited to 'src/MediaViewTracker.vala')
-rw-r--r-- | src/MediaViewTracker.vala | 7 |
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); } } - |