From 839c46e19ac4aa00b619a185ad48ee977162ef2c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 May 2024 10:16:47 +0200 Subject: Merging upstream version 2.10.38. Signed-off-by: Daniel Baumann --- app/gegl/gimp-babl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/gegl/gimp-babl.c') 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 -- cgit v1.2.3