From 724194d7a9a91221a564579f64bdd6f0abd64219 Mon Sep 17 00:00:00 2001 From: Noah Mayr Date: Sun, 1 Mar 2015 10:10:56 +0100 Subject: [PATCH] Fixed deprecated libpng API usage. --- src-IL/src/il_icon.c | 2 +- src-IL/src/il_png.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src-IL/src/il_icon.c b/src-IL/src/il_icon.c index 2ccb1a3..fd9475d 100644 --- a/src-IL/src/il_icon.c +++ b/src-IL/src/il_icon.c @@ -525,7 +525,7 @@ ILboolean ico_readpng_get_image(ICOIMAGE *Icon, ILdouble display_exponent) // Expand low-bit-depth grayscale images to 8 bits if (ico_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { - png_set_gray_1_2_4_to_8(ico_png_ptr); + png_set_expand_gray_1_2_4_to_8(ico_png_ptr); } // Expand RGB images with transparency to full alpha channels diff --git a/src-IL/src/il_png.c b/src-IL/src/il_png.c index da9517d..2866508 100644 --- a/src-IL/src/il_png.c +++ b/src-IL/src/il_png.c @@ -277,7 +277,7 @@ ILboolean readpng_get_image(ILdouble display_exponent) // Expand low-bit-depth grayscale images to 8 bits if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { - png_set_gray_1_2_4_to_8(png_ptr); + png_set_expand_gray_1_2_4_to_8(png_ptr); } // Expand RGB images with transparency to full alpha channels '/guix/commit/gnu/tests.scm?id=a8bbda8311a691c1c416e78b7095aae59f1d5667'>commitdiff
path: root/gnu/tests.scm
AgeCommit message (Expand)Author
2023-11-05tests: Honor system and target when lowering <system-test>....* gnu/tests.scm (compile-system-test): Wrap ‘system-test-value’ call in ‘mparameterize’. Change-Id: I4be28913a86f43059b0886ad2fcf81a9c699b730 Ludovic Courtès
2023-04-21tests: Fork and exec a new Guile for the marionette REPL....By merely forking PID 1, details from PID 1 (shepherd) would leak into the marionette process, such as the set of modules in scope and state inherited from the shepherd process (<service> instances, fibers, etc.). Running a fresh Guile instance avoids that. * gnu/tests.scm (marionette-program): New procedure. (marionette-shepherd-service): Change 'start' to use 'make-forkexec-constructor', and run the result of 'marionette-program'. Ludovic Courtès