summaryrefslogtreecommitdiff
path: root/src/ColorTransformation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-10-08 07:25:27 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-10-08 07:25:27 +0200
commit6d050e13e9dbbeffdb45fc1c5b977b996d310981 (patch)
treeb201bc97ea832ce0c43f144ef7229f52e42bbf23 /src/ColorTransformation.vala
parent10ce63378912ef63c8882889f02ed4dff0416f32 (diff)
parentd84f449fcb5ea05fcbb9eee098b7438aa332ad31 (diff)
Merge branch 'release/debian/0.30.7-1'debian/0.30.7-1
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);
}