summaryrefslogtreecommitdiff
path: root/tests/test-common.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-10-24 15:19:49 +0200
committerBastien Nocera <hadess@hadess.net>2014-10-24 15:30:50 +0200
commit3997cbb736ec67dd1b5a4205ab7aea3d5aecae1f (patch)
tree79a0463f63c2da2cab91f64d61c136876e332747 /tests/test-common.c
parent59e3b147287679fe214f39822f3918dba61c9e8f (diff)
downloadgdk-pixbuf-3997cbb736ec67dd1b5a4205ab7aea3d5aecae1f.tar.gz
ico: Fix support for 256x256 icons
In both loading and saving them. The ico format uses "0" as the width or height to mean 256: https://en.wikipedia.org/wiki/ICO_%28file_format%29#Icon_resource_structure Also add a test for that. https://bugzilla.gnome.org/show_bug.cgi?id=674724
Diffstat (limited to 'tests/test-common.c')
-rw-r--r--tests/test-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-common.c b/tests/test-common.c
index c7673e395..a7107a114 100644
--- a/tests/test-common.c
+++ b/tests/test-common.c
@@ -33,7 +33,7 @@ format_supported (const gchar *filename)
GSList *formats, *l;
gboolean retval;
const gchar *names[] = { "png", "jpeg", "bmp", "gif", "ras",
- "tga", "xpm", "xbm" };
+ "tga", "xpm", "xbm", "ico" };
gint i;
for (i = 0; i < G_N_ELEMENTS (names); i++)