[gnome-builder] run-manager: don't transfer task ownership



commit 16c53ef4e1068f5276fdab2b446ee27e25ae4432
Author: Christian Hergert <chergert redhat com>
Date:   Sun Oct 16 17:50:05 2016 -0700

    run-manager: don't transfer task ownership
    
    The caller doesn't expect ownership of the task.

 libide/runner/ide-run-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/runner/ide-run-manager.c b/libide/runner/ide-run-manager.c
index 3038837..221c6de 100644
--- a/libide/runner/ide-run-manager.c
+++ b/libide/runner/ide-run-manager.c
@@ -348,7 +348,7 @@ ide_run_manager_run_discover_cb (GObject      *object,
 
   g_task_set_task_data (task, g_steal_pointer (&build_target), g_object_unref);
 
-  do_run_async (self, g_steal_pointer (&task));
+  do_run_async (self, task);
 }
 
 static void


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