diff options
Diffstat (limited to 'src/photos')
-rw-r--r-- | src/photos/GdkSupport.vala | 4 | ||||
-rw-r--r-- | src/photos/PhotoFileAdapter.vala | 2 | ||||
-rw-r--r-- | src/photos/PhotoFileSniffer.vala | 2 | ||||
-rw-r--r-- | src/photos/PhotoMetadata.vala | 12 |
4 files changed, 10 insertions, 10 deletions
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; |