From: Matthias Clasen Date: Tue, 16 May 2023 01:46:02 +0000 (-0400) Subject: docs: Mention pixbufs in the migration guide X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~255^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=edfd37dfe2e6c8cc5e23782d72b352e8bc301fae;p=gtk4.git docs: Mention pixbufs in the migration guide --- diff --git a/docs/reference/gtk/migrating-4to5.md b/docs/reference/gtk/migrating-4to5.md index 30e9e2d6e0..0153846c64 100644 --- a/docs/reference/gtk/migrating-4to5.md +++ b/docs/reference/gtk/migrating-4to5.md @@ -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.