From: Daniel Boles Date: Wed, 5 Jul 2023 11:07:33 +0000 (+0100) Subject: GdkTexture: Don't mention private new_from_surface X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~71 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dccf6b55bdd423fd6a1f04f42c06b94111b06959;p=gtk4.git GdkTexture: Don't mention private new_from_surface The stuff about Cairo Surfaces is in gdktextureprivate.h, & so end users will not be able to use them; we shouldn't confuse by implying they can. --- diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c index 8c8de2d42d..ca53f036c2 100644 --- a/gdk/gdktexture.c +++ b/gdk/gdktexture.c @@ -25,7 +25,8 @@ * multiple frames, and will be used for a long time. * * There are various ways to create `GdkTexture` objects from a - * [class@GdkPixbuf.Pixbuf], or a Cairo surface, or other pixel data. + * [class@GdkPixbuf.Pixbuf], or from bytes stored in memory, a file, or a + * [struct@Gio.Resource]. * * The ownership of the pixel data is transferred to the `GdkTexture` * instance; you can only make a copy of it, via [method@Gdk.Texture.download].