/** * ide_builder_install_finish: * * Completes an asynchronous call to ide_builder_install_async(). * * Returns: (transfer none): An #IdeBuildResult. */ IdeBuildResult * ide_builder_install_finish (IdeBuilder *self, GAsyncResult *result, GError **error) { IdeBuildResult *ret; g_return_val_if_fail (IDE_IS_BUILDER (self), NULL); ret = IDE_BUILDER_GET_CLASS (self)->install_finish (self, result, error); g_return_val_if_fail (!ret || IDE_IS_BUILD_RESULT (ret), NULL); return ret; }
/** * ide_builder_build_finish: * * Completes an asynchronous request to build the project. * * Returns: (transfer full): An #IdeBuildResult or %NULL upon failure. */ IdeBuildResult * ide_builder_build_finish (IdeBuilder *builder, GAsyncResult *result, GError **error) { IdeBuildResult *ret = NULL; g_return_val_if_fail (IDE_IS_BUILDER (builder), NULL); g_return_val_if_fail (G_IS_ASYNC_RESULT (result), NULL); ret = IDE_BUILDER_GET_CLASS (builder)->build_finish (builder, result, error); g_return_val_if_fail (!ret || IDE_IS_BUILD_RESULT (ret), NULL); return ret; }