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 42203f089d
commit 0647121b38

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 = []