summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson Benítez León <nbenitezl@gmail.com>2023-05-15 14:42:47 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2023-05-15 18:04:37 +0100
commit1a19095a36eb1bb9732f345b6b826785d0b4bb13 (patch)
tree67cca7552970273c0924256715eec268e74c713e
parent03aa8513f8591892fd5cc09b4fa068ba1bfc2667 (diff)
downloadglib-1a19095a36eb1bb9732f345b6b826785d0b4bb13.tar.gz
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'.
-rw-r--r--gobject/gobject_gdb.py2
1 files changed, 1 insertions, 1 deletions
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 = []