[gnome-builder] subprocess: use ide task helper for errors
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] subprocess: use ide task helper for errors
- Date: Thu, 15 Sep 2016 19:09:39 +0000 (UTC)
commit c2002a5e2bf35549c6b6851d37802d5b98258b24
Author: Christian Hergert <chergert redhat com>
Date: Thu Sep 15 12:09:30 2016 -0700
subprocess: use ide task helper for errors
libide/subprocess/ide-breakout-subprocess.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/subprocess/ide-breakout-subprocess.c b/libide/subprocess/ide-breakout-subprocess.c
index 453ac48..5ef6c6a 100644
--- a/libide/subprocess/ide-breakout-subprocess.c
+++ b/libide/subprocess/ide-breakout-subprocess.c
@@ -666,7 +666,7 @@ ide_subprocess_communicate_made_progress (GObject *source_object,
{
state->reported_error = TRUE;
g_cancellable_cancel (state->cancellable);
- g_task_return_error (task, error);
+ ide_g_task_return_error_from_main (task, error);
}
else
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]