From 5f3062aff0b93210121551bd3b64746bf36be4d5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Oct 2021 21:54:59 +0200 Subject: [PATCH] docs: Cosmetics --- gdk/gdktexture.c | 1 + gdk/gdktypes.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c index b2213fd367..e5b68ee5c3 100644 --- a/gdk/gdktexture.c +++ b/gdk/gdktexture.c @@ -868,6 +868,7 @@ gdk_texture_save_to_png (GdkTexture *texture, * @texture: a `GdkTexture` * * Store the given @texture in memory as a PNG file. + * * Use [ctor@Gdk.Texture.new_from_bytes] to read it back. * * If you want to serialize a texture, this is a convenient and diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h index 9fdf2c11bd..89c5e7d606 100644 --- a/gdk/gdktypes.h +++ b/gdk/gdktypes.h @@ -357,7 +357,7 @@ typedef enum * @GDK_MEMORY_N_FORMATS: The number of formats. This value will change as * more formats get added, so do not rely on its concrete integer. * - * `GdkMemoryFormat` describes a format that bytes can have in memory. + * `GdkMemoryFormat` describes formats that image data can have in memory. * * It describes formats by listing the contents of the memory passed to it. * So GDK_MEMORY_A8R8G8B8 will be 1 byte (8 bits) of alpha, followed by a