gerror: Fix an old allow-none annotation

It’s now best described as both nullable and optional.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2023-12-13 13:26:40 +00:00
parent 9eee19b7ed
commit 00b75eb95c

View File

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