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



commit 588318020a92efeab5b9319d40b043ccbaf9e540
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]