summaryrefslogtreecommitdiff
path: root/src/ColorTransformation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:07 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:07 +0200
commitde88de73ad9d13cc2a54668aa4bc6523c196ffa9 (patch)
treee46fa083635b12388acefc2950ebccb54f4c5253 /src/ColorTransformation.vala
parentb57c8088c3dad237b04bb792c6dade9c470ce9fd (diff)
New upstream version 0.30.7upstream/0.30.7
Diffstat (limited to 'src/ColorTransformation.vala')
-rw-r--r--src/ColorTransformation.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ColorTransformation.vala b/src/ColorTransformation.vala
index 8595e96..6a1f822 100644
--- a/src/ColorTransformation.vala
+++ b/src/ColorTransformation.vala
@@ -268,8 +268,8 @@ public abstract class PixelTransformation {
private PixelTransformationType type;
private PixelFormat preferred_format;
- public PixelTransformation(PixelTransformationType type,
- PixelFormat preferred_format) {
+ protected PixelTransformation(PixelTransformationType type,
+ PixelFormat preferred_format) {
this.type = type;
this.preferred_format = preferred_format;
}
@@ -476,7 +476,7 @@ public class RGBTransformation : PixelTransformation {
public abstract class HSVTransformation : PixelTransformation {
protected float remap_table[256];
- public HSVTransformation(PixelTransformationType type) {
+ protected HSVTransformation(PixelTransformationType type) {
base(type, PixelFormat.HSV);
}