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



commit 69ecdb0295c0e16658ff12c4bda6f9b6fcd73244
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]