From eed3624d8f44e54a2023347b3d9f62c13576c01a Mon Sep 17 00:00:00 2001 From: Marco Trevisan Date: Fri, 9 Aug 2024 15:14:03 +0000 Subject: [PATCH] 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 044acfcb773dbef8d7bfacbb86c2da46718b6067) fab65955 glib/mappedfile: g_mapped_file_get_contents() does not transfer --- glib/gmappedfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gmappedfile.c b/glib/gmappedfile.c index 4d7a89eb2..1a3b224e4 100644 --- a/glib/gmappedfile.c +++ b/glib/gmappedfile.c @@ -340,7 +340,7 @@ g_mapped_file_get_length (GMappedFile *file) * * 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 */