Merge branch 'wip/chergert/fix-mapped-file-get-contents' into 'main'

glib/mappedfile: g_mapped_file_get_contents() does not transfer

See merge request GNOME/glib!4180

(cherry picked from commit 044acfcb77)

fab65955 glib/mappedfile: g_mapped_file_get_contents() does not transfer
This commit is contained in:
Marco Trevisan
2024-08-09 15:14:03 +00:00
committed by Michael Catanzaro
parent 5706816a44
commit eed3624d8f

View File

@@ -340,7 +340,7 @@ g_mapped_file_get_length (GMappedFile *file)
* *
* If the file is empty then %NULL is returned. * If the file is empty then %NULL is returned.
* *
* Returns: the contents of @file, or %NULL. * Returns: (transfer none) (nullable): the contents of @file, or %NULL.
* *
* Since: 2.8 * Since: 2.8
*/ */