[gnome-builder] autotools: pass proper error back to task



commit 0350ce8da012a961d6509da8795a0347213fe6cf
Author: Christian Hergert <chergert redhat com>
Date:   Sun Mar 19 23:21:09 2017 -0700

    autotools: pass proper error back to task

 plugins/autotools/ide-autotools-makecache-stage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/autotools/ide-autotools-makecache-stage.c 
b/plugins/autotools/ide-autotools-makecache-stage.c
index 7e7fe99..5a80e2e 100644
--- a/plugins/autotools/ide-autotools-makecache-stage.c
+++ b/plugins/autotools/ide-autotools-makecache-stage.c
@@ -52,7 +52,7 @@ ide_autotools_makecache_stage_makecache_cb (GObject      *object,
 
   if (makecache == NULL)
     {
-      g_task_return_error (task, g_steal_pointer (&task));
+      g_task_return_error (task, g_steal_pointer (&error));
       IDE_EXIT;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]