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.
This commit is contained in:
Corentin Noël 2023-02-09 11:47:05 +01:00 committed by Corentin Noël
parent 51f3d03d9b
commit 4ba91ec11e

View File

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