[gnome-builder/gnome-builder-3-28] deviced: fix invalid error propagation
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-28] deviced: fix invalid error propagation
- Date: Thu, 7 Jun 2018 21:41:10 +0000 (UTC)
commit 9e05867f66c163a6b32e8e36ccae5c0a34738e70
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 7 14:40:12 2018 -0700
deviced: fix invalid error propagation
src/plugins/deviced/gbp-deviced-deploy-strategy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/deviced/gbp-deviced-deploy-strategy.c
b/src/plugins/deviced/gbp-deviced-deploy-strategy.c
index 8cade1689..9171b5b45 100644
--- a/src/plugins/deviced/gbp-deviced-deploy-strategy.c
+++ b/src/plugins/deviced/gbp-deviced-deploy-strategy.c
@@ -280,7 +280,7 @@ deploy_commit_cb (GObject *object,
state = g_task_get_task_data (task);
if (!ide_build_pipeline_build_finish (pipeline, result, &error))
- g_task_return_error (task, g_steal_pointer (&task));
+ g_task_return_error (task, g_steal_pointer (&error));
else
gbp_deviced_device_get_commit_async (state->device,
state->app_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]