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



commit 91f03d13c9301c4cb4b1f0f730e7a1626d332bd6
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]