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'.
This commit is contained in:
Nelson Benítez León 2023-05-15 14:42:47 +01:00 committed by Philip Withnall
parent 03aa8513f8
commit 1a19095a36

View File

@ -215,7 +215,7 @@ class SignalFrame(FrameDecorator):
if detail is not None:
return signal + ":" + detail
else:
return detail
return signal
def function(self):
instances = []