libostree: Ignore new_and_connect in the introspection
authorCorentin Noël <corentin.noel@collabora.com>
Thu, 9 Feb 2023 10:47:05 +0000 (11:47 +0100)
committerCorentin Noël <tintou@noel.tf>
Thu, 9 Feb 2023 10:52:11 +0000 (11:52 +0100)
This function can't be correctly introspected and it is easy enough to connect
to the signal afterwards.

src/libostree/ostree-async-progress.c

index 8a780372a1498ce1e6f0af07e8101f26b4e8d33b..a6e91c1df8d9f8c9e2b9b9990386c29765e89e81 100644 (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)