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



commit f7ef90667ea60b68c75ac1b7fca95627ab11684a
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]