From 00b75eb95c8c9dabd12764cbe107d2e69236d59b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 13 Dec 2023 13:26:40 +0000 Subject: [PATCH] gerror: Fix an old allow-none annotation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s now best described as both nullable and optional. Signed-off-by: Philip Withnall --- glib/gerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gerror.c b/glib/gerror.c index 25be13f8d..ea985acf6 100644 --- a/glib/gerror.c +++ b/glib/gerror.c @@ -631,7 +631,7 @@ g_prefix_error (GError **err, /** * g_prefix_error_literal: - * @err: (allow-none): a return location for a #GError, or %NULL + * @err: (inout) (nullable) (optional): a return location for a #GError, or %NULL * @prefix: string to prefix @err with * * Prefixes @prefix to an existing error message. If @err or *@err is