From: Matthias Clasen Date: Wed, 19 Oct 2022 03:21:28 +0000 (-0400) Subject: testsuite: Fix tiff pixbuf tests X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~161^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5a6eab05e9a15ab174ae3a1cdfbd0bec9e788777;p=gtk4.git testsuite: Fix tiff pixbuf tests This test wasn't actually testing what it claims, since that functionality is broken in gdk-pixbuf. Test it anyway. --- diff --git a/testsuite/gdk/memorytexture.c b/testsuite/gdk/memorytexture.c index 372cece19d..1262800730 100644 --- a/testsuite/gdk/memorytexture.c +++ b/testsuite/gdk/memorytexture.c @@ -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);