From 97529aaad997dc397d69fbd0aed2605c9cf7ba5a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 29 Dec 2016 14:36:45 +0100 Subject: ico: Fix uninitialised alpha values As we always create a GdkPixbuf with alpha, even if the original file doesn't have an alpha channel, or a mask, make sure to set the alpha pixel value in all cases, if only to have it overridden if there is a mask present. This makes it possible to use the reference test without having differing alpha values. --- tests/test-images/reftests/squares.ico | Bin 0 -> 6926 bytes tests/test-images/reftests/squares.ico.ref.png | Bin 0 -> 259 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/test-images/reftests/squares.ico create mode 100644 tests/test-images/reftests/squares.ico.ref.png (limited to 'tests') diff --git a/tests/test-images/reftests/squares.ico b/tests/test-images/reftests/squares.ico new file mode 100644 index 000000000..6bda81b37 Binary files /dev/null and b/tests/test-images/reftests/squares.ico differ diff --git a/tests/test-images/reftests/squares.ico.ref.png b/tests/test-images/reftests/squares.ico.ref.png new file mode 100644 index 000000000..c0f603c0f Binary files /dev/null and b/tests/test-images/reftests/squares.ico.ref.png differ -- cgit v1.2.1