[gnome-builder] build-pipeline: clear messages between stages
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build-pipeline: clear messages between stages
- Date: Wed, 6 Dec 2017 09:25:16 +0000 (UTC)
commit 634110f4bc8977d816352855b85e2b8c4d1fe4fc
Author: Christian Hergert <chergert redhat com>
Date: Wed Dec 6 01:23:35 2017 -0800
build-pipeline: clear messages between stages
src/libide/buildsystem/ide-build-pipeline.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libide/buildsystem/ide-build-pipeline.c b/src/libide/buildsystem/ide-build-pipeline.c
index ec929f8..ef6b0f6 100644
--- a/src/libide/buildsystem/ide-build-pipeline.c
+++ b/src/libide/buildsystem/ide-build-pipeline.c
@@ -1387,6 +1387,9 @@ ide_build_pipeline_tick_execute (IdeBuildPipeline *self,
g_assert (td->phase != IDE_BUILD_PHASE_NONE);
g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
+ /* Clear any message from the previous stage */
+ _ide_build_pipeline_set_message (self, NULL);
+
/* Short circuit now if the task was cancelled */
if (g_task_return_error_if_cancelled (task))
IDE_EXIT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]