summaryrefslogtreecommitdiff
path: root/tests/test-image.png
diff options
context:
space:
mode:
authorRyan Lortie <desrt@moonpix.lan>2013-02-26 16:01:32 -0500
committerRyan Lortie <desrt@desrt.ca>2013-04-21 16:39:14 -0400
commitaa0f928631d7c3877633337960c10963fb6eaecd (patch)
tree390a033e7d659c04ff6e3ebc2b3b538a06f1e51d /tests/test-image.png
parentcb0d6bef7f241d21f6efd6af377cab3a33b7de09 (diff)
downloadgdk-pixbuf-aa0f928631d7c3877633337960c10963fb6eaecd.tar.gz
Fix GIcon implementation
The "new rules" for GIcon say that we must support serialisation via g_icon_serialize() and loadability via GLoadableIcon, so implement both of those. Serialise GdkPixbuf by emitting a GVariant that will result in a png-encoded GBytesIcon when deserialized. The GLoadableIcon interface is similar: we return a stream that will read out as a png. Test the serialisation by round-tripping an image through this process and ensuring that it is pixel-perfect. https://bugzilla.gnome.org/show_bug.cgi?id=688820
Diffstat (limited to 'tests/test-image.png')
-rw-r--r--tests/test-image.pngbin0 -> 4314 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/test-image.png b/tests/test-image.png
new file mode 100644
index 000000000..6974e57ac
--- /dev/null
+++ b/tests/test-image.png
Binary files differ