From 4ba91ec11e635ea3a41512a3106c7324b967a604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Thu, 9 Feb 2023 11:47:05 +0100 Subject: libostree: Ignore new_and_connect in the introspection This function can't be correctly introspected and it is easy enough to connect to the signal afterwards. --- src/libostree/ostree-async-progress.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libostree/ostree-async-progress.c b/src/libostree/ostree-async-progress.c index 8a780372..a6e91c1d 100644 --- a/src/libostree/ostree-async-progress.c +++ b/src/libostree/ostree-async-progress.c @@ -469,7 +469,13 @@ ostree_async_progress_new (void) return (OstreeAsyncProgress*)g_object_new (OSTREE_TYPE_ASYNC_PROGRESS, NULL); } - +/** + * ostree_async_progress_new_and_connect: (skip) + * @changed: a notification callback + * @user_data: data to pass to @changed + * + * Returns: (transfer full): A new progress object + */ OstreeAsyncProgress * ostree_async_progress_new_and_connect (void (*changed) (OstreeAsyncProgress *self, gpointer user_data), gpointer user_data) -- cgit v1.2.1