From dccf6b55bdd423fd6a1f04f42c06b94111b06959 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Wed, 5 Jul 2023 12:07:33 +0100 Subject: [PATCH] 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. --- gdk/gdktexture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]. -- 2.30.2