[gtk/matthiasc/for-master: 2/3] docs: Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 2/3] docs: Cosmetics
- Date: Mon, 18 Oct 2021 03:40:13 +0000 (UTC)
commit 4a688129f396a34d4750ac181bcca76b0c712ff9
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 17 21:54:59 2021 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]