From 1a19095a36eb1bb9732f345b6b826785d0b4bb13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= Date: Mon, 15 May 2023 14:42:47 +0100 Subject: gobject_gdb.py: fix regression caused by bfbe7127d5 commit bfbe7127d5 which did a code refactor in gobject_gdb.py introduced a bug by failing to return the signal name when a signal had no 'detail', this was preventing pretty printing name for signals with no 'detail'. --- gobject/gobject_gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gobject_gdb.py b/gobject/gobject_gdb.py index ac9fd4e6e..51aa6b7b2 100644 --- a/gobject/gobject_gdb.py +++ b/gobject/gobject_gdb.py @@ -215,7 +215,7 @@ class SignalFrame(FrameDecorator): if detail is not None: return signal + ":" + detail else: - return detail + return signal def function(self): instances = [] -- cgit v1.2.1