diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index dee96b8e76..2ed7700092 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2007-11-20 Bastien Nocera + + * io-icns.c: (load_resources): Add support for 512x512 Leopard + icons, using the ic09 iconType + 2007-11-20 Bastien Nocera * Makefile.am: diff --git a/gdk-pixbuf/io-icns.c b/gdk-pixbuf/io-icns.c index 98ad97dd50..62a8523345 100644 --- a/gdk-pixbuf/io-icns.c +++ b/gdk-pixbuf/io-icns.c @@ -88,7 +88,9 @@ load_resources (unsigned size, IN gpointer data, gsize datalen, switch (size) { case 256: - if (memcmp (header->id, "ic08", 4) == 0) /* 256x256 icon */ + case 512: + if (memcmp (header->id, "ic08", 4) == 0 /* 256x256 icon */ + || memcmp (header->id, "ic09", 4) == 0) /* 512x512 icon */ { *picture = (gpointer) (current + sizeof (IcnsBlockHeader)); *plen = blocklen - sizeof (IcnsBlockHeader);