From 0a60b57fd46c19a2d3d155b5f8bb0abd0c1e22a5 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 24 Jul 2024 18:36:23 +0200 Subject: [PATCH] =?UTF-8?q?girepository:=20Fix=20API=20version=20=E2=80=98?= =?UTF-8?q?since=E2=80=99=20numbers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes commit 453dd4be9e906078a7fb7466819ce1876a629a45. Signed-off-by: Philip Withnall --- girepository/gicallableinfo.c | 8 ++++---- girepository/gicallableinfo.h | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/girepository/gicallableinfo.c b/girepository/gicallableinfo.c index b5ea55d74..f85192fdb 100644 --- a/girepository/gicallableinfo.c +++ b/girepository/gicallableinfo.c @@ -884,7 +884,7 @@ get_callable_info_for_index (GIBaseInfo *rinfo, * * Returns: (transfer full) (nullable): a [class@GIRepository.CallableInfo] for the * async function or `NULL` if not defined. - * Since: 2.80 + * Since: 2.84 */ GICallableInfo * gi_callable_info_get_async_function (GICallableInfo *info) @@ -925,7 +925,7 @@ gi_callable_info_get_async_function (GICallableInfo *info) * * Returns: (transfer full) (nullable): a [class@GIRepository.CallableInfo] for the * sync function or `NULL` if not defined. - * Since: 2.80 + * Since: 2.84 */ GICallableInfo * gi_callable_info_get_sync_function (GICallableInfo *info) @@ -966,7 +966,7 @@ gi_callable_info_get_sync_function (GICallableInfo *info) * * Returns: (transfer full) (nullable): a [class@GIRepository.CallableInfo] for the * finish function or `NULL` if not defined. - * Since: 2.80 + * Since: 2.84 */ GICallableInfo * gi_callable_info_get_finish_function (GICallableInfo *info) @@ -1007,7 +1007,7 @@ gi_callable_info_get_finish_function (GICallableInfo *info) * [type@Gio.AsyncReadyCallback] parameter and user data. * * Returns: true if the callable is async - * Since: 2.80 + * Since: 2.84 */ gboolean gi_callable_info_is_async (GICallableInfo *callable_info) diff --git a/girepository/gicallableinfo.h b/girepository/gicallableinfo.h index 37d64a2c8..42fcf42c4 100644 --- a/girepository/gicallableinfo.h +++ b/girepository/gicallableinfo.h @@ -116,16 +116,16 @@ gboolean gi_callable_info_invoke (GICallableInfo *info GI_AVAILABLE_IN_ALL GITransfer gi_callable_info_get_instance_ownership_transfer (GICallableInfo *info); -GI_AVAILABLE_IN_ALL -GICallableInfo * gi_callable_info_get_async_function (GICallableInfo *info); +GI_AVAILABLE_IN_2_84 +GICallableInfo *gi_callable_info_get_async_function (GICallableInfo *info); -GI_AVAILABLE_IN_ALL -GICallableInfo * gi_callable_info_get_sync_function (GICallableInfo *info); +GI_AVAILABLE_IN_2_84 +GICallableInfo *gi_callable_info_get_sync_function (GICallableInfo *info); -GI_AVAILABLE_IN_ALL -GICallableInfo * gi_callable_info_get_finish_function (GICallableInfo *info); +GI_AVAILABLE_IN_2_84 +GICallableInfo *gi_callable_info_get_finish_function (GICallableInfo *info); -GI_AVAILABLE_IN_ALL +GI_AVAILABLE_IN_2_84 gboolean gi_callable_info_is_async (GICallableInfo *info); G_END_DECLS