From a7199e18fd4e6ce3e76ecd2b6c5d25c6c3de2f32 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 13 Dec 2023 00:27:19 +0000 Subject: [PATCH] gifieldinfo: Port documentation to gi-docgen and update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Review and update the documentation, making sure it’s complete, formatted in gi-docgen format, and has all appropriate GIR annotations and `Since:` lines. Signed-off-by: Philip Withnall Helps: #3155 --- girepository/gifieldinfo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/girepository/gifieldinfo.c b/girepository/gifieldinfo.c index 4d5358751..694333268 100644 --- a/girepository/gifieldinfo.c +++ b/girepository/gifieldinfo.c @@ -141,6 +141,7 @@ gi_field_info_get_offset (GIFieldInfo *info) * * Returns: (transfer full): the [type@GIRepository.TypeInfo]. Free the struct * by calling [method@GIRepository.BaseInfo.unref] when done. + * Since: 2.80 */ GITypeInfo * gi_field_info_get_type_info (GIFieldInfo *info) @@ -181,7 +182,7 @@ gi_field_info_get_type_info (GIFieldInfo *info) * composite type like a nested structure or union even if that is actually * readable. * - * Returns: true if reading the field succeeded, false otherwise + * Returns: `TRUE` if reading the field succeeded, `FALSE` otherwise * Since: 2.80 */ gboolean @@ -378,7 +379,7 @@ gi_field_info_get_field (GIFieldInfo *field_info, * management would by required. A field with a type such as `char *` must be * set with a setter function. * - * Returns: true if writing the field succeeded, false otherwise + * Returns: `TRUE` if writing the field succeeded, `FALSE` otherwise * Since: 2.80 */ gboolean