docs: Mention pixbufs in the migration guide
authorMatthias Clasen <mclasen@redhat.com>
Tue, 16 May 2023 01:46:02 +0000 (21:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 16 May 2023 03:05:52 +0000 (23:05 -0400)
docs/reference/gtk/migrating-4to5.md

index 30e9e2d6e04a579e055d447afb5e05b50fe0f0de..0153846c64b2b1bd75d2a0c48ec2f38bb6f5c27e 100644 (file)
@@ -133,3 +133,9 @@ The function gtk_widget_get_allocation() is also going away. It does not have a
 replacement, but the previously mentioned alternatives can be used for it too.
 
 The function gtk_widget_get_allocated_baseline() has been renamed to [method@Gtk.Widget.get_baseline].
+
+## Stop using GdkPixbuf
+
+GTK is moving away from GdkPixbuf as the primary API for transporting image data, in favor
+of GdkTexture. APIs that are accepting or returning GdkPixbufs are being replaced by equivalent
+APIs using GdkTexture or GdkPaintable objects.