summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-12-29 14:36:45 +0100
committerBastien Nocera <hadess@hadess.net>2016-12-29 14:36:45 +0100
commit97529aaad997dc397d69fbd0aed2605c9cf7ba5a (patch)
treea1e8266a4119358e764e8d4ab1019dff45bf5a10 /tests
parentd8ea84789810477aa130b2e5f7c8e27a5e3587ab (diff)
downloadgdk-pixbuf-97529aaad997dc397d69fbd0aed2605c9cf7ba5a.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-images/reftests/squares.icobin0 -> 6926 bytes
-rw-r--r--tests/test-images/reftests/squares.ico.ref.pngbin0 -> 259 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/tests/test-images/reftests/squares.ico b/tests/test-images/reftests/squares.ico
new file mode 100644
index 000000000..6bda81b37
--- /dev/null
+++ b/tests/test-images/reftests/squares.ico
Binary files 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
--- /dev/null
+++ b/tests/test-images/reftests/squares.ico.ref.png
Binary files differ