projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bede73
)
docs: Mention pixbufs in the migration guide
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 May 2023 01:46:02 +0000
(21:46 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 May 2023 03:05:52 +0000
(23:05 -0400)
docs/reference/gtk/migrating-4to5.md
patch
|
blob
|
history
diff --git
a/docs/reference/gtk/migrating-4to5.md
b/docs/reference/gtk/migrating-4to5.md
index 30e9e2d6e04a579e055d447afb5e05b50fe0f0de..0153846c64b2b1bd75d2a0c48ec2f38bb6f5c27e 100644
(file)
--- 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.