[gnome-builder] autotools: complete boostrap task
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] autotools: complete boostrap task
- Date: Wed, 29 Apr 2015 01:05:28 +0000 (UTC)
commit 09e8942731f96a88c607a437d314f3371725007b
Author: Christian Hergert <christian hergert me>
Date: Tue Apr 28 17:44:16 2015 -0700
autotools: complete boostrap task
We can probably drop this altogether now, but until I investigate more,
let's at least complete the operation successfully.
libide/autotools/ide-autotools-build-system.c | 2 +-
libide/autotools/ide-autotools-builder.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libide/autotools/ide-autotools-build-system.c b/libide/autotools/ide-autotools-build-system.c
index 9525459..dfa7f86 100644
--- a/libide/autotools/ide-autotools-build-system.c
+++ b/libide/autotools/ide-autotools-build-system.c
@@ -248,7 +248,7 @@ ide_autotools_build_system_get_local_makefile_async (IdeAutotoolsBuildSystem *se
config = g_key_file_new ();
builder = ide_autotools_build_system_get_builder (IDE_BUILD_SYSTEM (self), config, device, &error);
- if (!builder)
+ if (builder == NULL)
{
g_task_return_error (task, error);
return;
diff --git a/libide/autotools/ide-autotools-builder.c b/libide/autotools/ide-autotools-builder.c
index 236a431..4298ce7 100644
--- a/libide/autotools/ide-autotools-builder.c
+++ b/libide/autotools/ide-autotools-builder.c
@@ -397,6 +397,8 @@ ide_autotools_builder_bootstrap_async (IdeAutotoolsBuilder *self,
task = g_task_new (self, cancellable, callback, user_data);
g_key_file_set_boolean (priv->config, "autotools", "bootstrap", TRUE);
+
+ g_task_return_boolean (task, TRUE);
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]