gicallbackinfo: Port documentation to gi-docgen and update

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 <pwithnall@gnome.org>

Helps: #3155
This commit is contained in:
Philip Withnall 2023-12-13 00:26:40 +00:00
parent e1cd86714b
commit 553e7cb02d
2 changed files with 8 additions and 6 deletions

View File

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

View File

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