diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2023-02-09 11:47:05 +0100 |
---|---|---|
committer | Corentin Noël <tintou@noel.tf> | 2023-02-09 11:52:11 +0100 |
commit | 4ba91ec11e635ea3a41512a3106c7324b967a604 (patch) | |
tree | d20627977954ca6ff7f5ed0d12880a05e6c58d5d | |
parent | 51f3d03d9bc1e39b5e47c629ae5eb9f483da56b8 (diff) | |
download | ostree-4ba91ec11e635ea3a41512a3106c7324b967a604.tar.gz |
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.
-rw-r--r-- | src/libostree/ostree-async-progress.c | 8 |
1 files changed, 7 insertions, 1 deletions
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) |