testsuite: Fix tiff pixbuf tests
authorMatthias Clasen <mclasen@redhat.com>
Wed, 19 Oct 2022 03:21:28 +0000 (23:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 19 Oct 2022 03:21:28 +0000 (23:21 -0400)
This test wasn't actually testing what it claims,
since that functionality is broken in gdk-pixbuf.

Test it anyway.

testsuite/gdk/memorytexture.c

index 372cece19d56cd913e3d811f89672d0bf7f13287..126280073067c23e082f671e9781109b178da7a0 100644 (file)
@@ -496,7 +496,7 @@ create_texture (GdkMemoryFormat  format,
         GdkPixbuf *pixbuf;
         GBytes *bytes;
 
-        bytes = gdk_texture_save_to_png_bytes (texture);
+        bytes = gdk_texture_save_to_tiff_bytes (texture);
         g_assert (bytes);
         g_object_unref (texture);
         stream = g_memory_input_stream_new_from_bytes (bytes);