summaryrefslogtreecommitdiffstats
path: root/app/gegl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
commit74f0d9eb037dc24bdfd1f0f325e483e380451d32 (patch)
treefaaaf44f426c20626c05034846c0b481c0e54983 /app/gegl
parentAdding upstream version 2.10.36. (diff)
downloadgimp-74f0d9eb037dc24bdfd1f0f325e483e380451d32.tar.xz
gimp-74f0d9eb037dc24bdfd1f0f325e483e380451d32.zip
Adding upstream version 2.10.38.upstream/2.10.38upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'app/gegl')
-rw-r--r--app/gegl/gimp-babl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/gegl/gimp-babl.c b/app/gegl/gimp-babl.c
index b2dc20a..19673e9 100644
--- a/app/gegl/gimp-babl.c
+++ b/app/gegl/gimp-babl.c
@@ -36,6 +36,8 @@
void
gimp_babl_init (void)
{
+// in newer version of babl these format names are pre-registered
+#if (BABL_MINOR_VERSION == 1 && BABL_MICRO_VERSION <= 108)
babl_format_new ("name", "R u8",
babl_model ("RGBA"),
babl_type ("u8"),
@@ -251,6 +253,7 @@ gimp_babl_init (void)
babl_type ("double"),
babl_component ("A"),
NULL);
+#endif
}
void