[gtk/fix-pixbuf-tiff-tests: 1/2] testsuite: Fix tiff pixbuf tests




commit 5a6eab05e9a15ab174ae3a1cdfbd0bec9e788777
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 18 23:21:28 2022 -0400

    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.

 testsuite/gdk/memorytexture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]