[gnome-builder/wip/chergert/debugger: 80/163] debugger: set runner failed if no debugger was found



commit 5061a39d4d8f5aad36f1c1c39d94348179f24cb1
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 22 14:59:40 2017 -0700

    debugger: set runner failed if no debugger was found

 libide/debugger/ide-debug-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/debugger/ide-debug-manager.c b/libide/debugger/ide-debug-manager.c
index cd50188..7fce977 100644
--- a/libide/debugger/ide-debug-manager.c
+++ b/libide/debugger/ide-debug-manager.c
@@ -241,6 +241,7 @@ ide_debug_manager_start (IdeDebugManager  *self,
 
   if (debugger == NULL)
     {
+      ide_runner_set_failed (runner, TRUE);
       g_set_error (error,
                    G_IO_ERROR,
                    G_IO_ERROR_NOT_SUPPORTED,


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