summaryrefslogtreecommitdiff
path: root/src/photos
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:21 +0200
commit5204e98502aa1d0dc4a05c5d3f15b7c39c8d832c (patch)
treecf732995c187d192ce8eab868c5f60cd0982184e /src/photos
parent4b884ce062be787b9e64836146133a1066b679e3 (diff)
parentde88de73ad9d13cc2a54668aa4bc6523c196ffa9 (diff)
Update upstream source from tag 'upstream/0.30.7'
Update to upstream version '0.30.7' with Debian dir 9549ff4a34004ef1e2ea60b54b2fb65fe1ddf75e
Diffstat (limited to 'src/photos')
-rw-r--r--src/photos/GdkSupport.vala4
-rw-r--r--src/photos/PhotoFileAdapter.vala2
-rw-r--r--src/photos/PhotoFileSniffer.vala2
-rw-r--r--src/photos/PhotoMetadata.vala12
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;