From de88de73ad9d13cc2a54668aa4bc6523c196ffa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 3 Oct 2019 15:22:07 +0200 Subject: New upstream version 0.30.7 --- src/photos/GdkSupport.vala | 4 ++-- src/photos/PhotoFileAdapter.vala | 2 +- src/photos/PhotoFileSniffer.vala | 2 +- src/photos/PhotoMetadata.vala | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/photos') diff --git a/src/photos/GdkSupport.vala b/src/photos/GdkSupport.vala index 2fd1926..f7e18d5 100644 --- a/src/photos/GdkSupport.vala +++ b/src/photos/GdkSupport.vala @@ -5,7 +5,7 @@ */ public abstract class GdkReader : PhotoFileReader { - public GdkReader(string filepath, PhotoFileFormat file_format) { + protected GdkReader(string filepath, PhotoFileFormat file_format) { base (filepath, file_format); } @@ -30,7 +30,7 @@ public abstract class GdkSniffer : PhotoFileSniffer { private bool size_ready = false; private bool area_prepared = false; - public GdkSniffer(File file, PhotoFileSniffer.Options options) { + protected GdkSniffer(File file, PhotoFileSniffer.Options options) { base (file, options); } diff --git a/src/photos/PhotoFileAdapter.vala b/src/photos/PhotoFileAdapter.vala index df49edb..ca7c662 100644 --- a/src/photos/PhotoFileAdapter.vala +++ b/src/photos/PhotoFileAdapter.vala @@ -22,7 +22,7 @@ public abstract class PhotoFileAdapter { private PhotoFileFormat file_format; private File file = null; - public PhotoFileAdapter(string filepath, PhotoFileFormat file_format) { + protected PhotoFileAdapter(string filepath, PhotoFileFormat file_format) { this.filepath = filepath; this.file_format = file_format; } diff --git a/src/photos/PhotoFileSniffer.vala b/src/photos/PhotoFileSniffer.vala index 3ea1b9d..7442fde 100644 --- a/src/photos/PhotoFileSniffer.vala +++ b/src/photos/PhotoFileSniffer.vala @@ -39,7 +39,7 @@ public abstract class PhotoFileSniffer { protected Options options; protected bool calc_md5; - public PhotoFileSniffer(File file, Options options) { + protected PhotoFileSniffer(File file, Options options) { this.file = file; this.options = options; diff --git a/src/photos/PhotoMetadata.vala b/src/photos/PhotoMetadata.vala index 288a362..fdda0e6 100644 --- a/src/photos/PhotoMetadata.vala +++ b/src/photos/PhotoMetadata.vala @@ -96,11 +96,11 @@ public class ACDSeeKeywordTransformer : KeywordTransformer { return; } - Workaround.markup_collect_attributes (name, - attribute_names, - attribute_values, - Markup.CollectType.BOOLEAN, - "Assigned", out assigned); + Markup.collect_attributes (name, + attribute_names, + attribute_values, + Markup.CollectType.BOOLEAN, + "Assigned", out assigned); } private void on_end (MarkupParseContext ctx, string name) @@ -164,7 +164,7 @@ public abstract class PhotoPreview { private string mime_type; private string extension; - public PhotoPreview(string name, Dimensions dimensions, uint32 size, string mime_type, string extension) { + protected PhotoPreview(string name, Dimensions dimensions, uint32 size, string mime_type, string extension) { this.name = name; this.dimensions = dimensions; this.size = size; -- cgit v1.2.3