[gnome-builder/wip/chergert/debugger] debugger: allow NULL location



commit e5bd4fb8dac4bd98d845ffacdc724b2a71d808c3
Author: Christian Hergert <chergert redhat com>
Date:   Sun Mar 26 21:34:00 2017 -0700

    debugger: allow NULL location

 libide/debugger/ide-debugger.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libide/debugger/ide-debugger.c b/libide/debugger/ide-debugger.c
index 249d9df..27f0077 100644
--- a/libide/debugger/ide-debugger.c
+++ b/libide/debugger/ide-debugger.c
@@ -175,7 +175,6 @@ ide_debugger_emit_stopped (IdeDebugger           *self,
                            IdeSourceLocation     *location)
 {
   g_return_if_fail (IDE_IS_DEBUGGER (self));
-  g_return_if_fail (location != NULL);
 
   g_signal_emit (self, signals [STOPPED], 0, reason, location);
 }


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