From 553e7cb02dd1b3d0be34d6db248918e79898544d Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 13 Dec 2023 00:26:40 +0000 Subject: [PATCH] gicallbackinfo: 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/gicallbackinfo.c | 8 ++++---- girepository/gicallbackinfo.h | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/girepository/gicallbackinfo.c b/girepository/gicallbackinfo.c index b7e88ea97..8fa46884e 100644 --- a/girepository/gicallbackinfo.c +++ b/girepository/gicallbackinfo.c @@ -35,11 +35,11 @@ #include "gicallbackinfo.h" /** - * SECTION:gicallback - * @title: GICallbackInfo - * @short_description: Struct representing a callback + * GICallbackInfo: * - * GICallbackInfo represents a callback. + * `GICallbackInfo` represents a callback. + * + * Since: 2.80 */ void diff --git a/girepository/gicallbackinfo.h b/girepository/gicallbackinfo.h index c14c6fd7a..52fd36882 100644 --- a/girepository/gicallbackinfo.h +++ b/girepository/gicallbackinfo.h @@ -32,10 +32,12 @@ G_BEGIN_DECLS /** - * GI_IS_CALLBACK_INFO + * GI_IS_CALLBACK_INFO: * @info: an info structure * - * Checks if @info is a #GICallbackInfo or derived from it. + * Checks if @info is a [class@GIRepository.CallbackInfo] or derived from it. + * + * Since: 2.80 */ #define GI_IS_CALLBACK_INFO(info) \ (gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_CALLBACK)