aboutsummaryrefslogtreecommitdiff
path: root/tcg/i386
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-14 09:04:39 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-04-10 11:22:02 +0200
commitfa2d039b2cda314e83cc9fd8fd5b9d41c09a0993 (patch)
tree40fb4dc5c9dcbf73dcc260ddcefc905989e00abe /tcg/i386
parent1e70de679d2e7e1312d9c9debed8d11612d469d9 (diff)
gtk: drop pointless code from gd_window_close
Unregistering the display change listener looks like a pointless excercise given we'll exit in a moment. When exiting qemu via menu/file/quit this will not happen either. Just drop the code. Also return TRUE unconditionally. This will tell gtk to ignore the close request, so gtk will not start destroying widgets and causing warnings due to UI code trying to talk to widgets which are gone. Just depend on qmp_quit() doing it's job instead. Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20180314080439.4229-1-kraxel@redhat.com>
Diffstat (limited to 'tcg/i386')
0 files changed, 0 insertions, 0 deletions