docs: Cosmetics

This commit is contained in:
Matthias Clasen 2021-10-17 21:54:59 +02:00
parent cf7ee82755
commit 5f3062aff0
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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