• Gerd Hoffmann's avatar
    gtk: drop pointless code from gd_window_close · fa2d039b
    Gerd Hoffmann authored
    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: 's avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
    Signed-off-by: 's avatarGerd Hoffmann <kraxel@redhat.com>
    Message-Id: <20180314080439.4229-1-kraxel@redhat.com>
    fa2d039b
Name
Last commit
Last update
..
keycodemapdb @ 6b3d716e Loading commit data...
shader Loading commit data...
Makefile.objs Loading commit data...
cocoa.m Loading commit data...
console-gl.c Loading commit data...
console.c Loading commit data...
curses.c Loading commit data...
curses_keys.h Loading commit data...
cursor.c Loading commit data...
cursor_hidden.xpm Loading commit data...
cursor_left_ptr.xpm Loading commit data...
egl-context.c Loading commit data...
egl-headless.c Loading commit data...
egl-helpers.c Loading commit data...
gtk-egl.c Loading commit data...
gtk-gl-area.c Loading commit data...
gtk.c Loading commit data...
input-keymap.c Loading commit data...
input-legacy.c Loading commit data...
input-linux.c Loading commit data...
input.c Loading commit data...
keymaps.c Loading commit data...
keymaps.h Loading commit data...
qemu-pixman.c Loading commit data...
qemu-x509.h Loading commit data...
sdl.c Loading commit data...
sdl2-2d.c Loading commit data...
sdl2-gl.c Loading commit data...
sdl2-input.c Loading commit data...
sdl2.c Loading commit data...
sdl_keysym.h Loading commit data...
sdl_zoom.c Loading commit data...
sdl_zoom.h Loading commit data...
sdl_zoom_template.h Loading commit data...
shader.c Loading commit data...
spice-core.c Loading commit data...
spice-display.c Loading commit data...
spice-input.c Loading commit data...
trace-events Loading commit data...
vgafont.h Loading commit data...
vnc-auth-sasl.c Loading commit data...
vnc-auth-sasl.h Loading commit data...
vnc-auth-vencrypt.c Loading commit data...
vnc-auth-vencrypt.h Loading commit data...
vnc-enc-hextile-template.h Loading commit data...
vnc-enc-hextile.c Loading commit data...
vnc-enc-tight.c Loading commit data...
vnc-enc-tight.h Loading commit data...
vnc-enc-zlib.c Loading commit data...
vnc-enc-zrle-template.c Loading commit data...
vnc-enc-zrle.c Loading commit data...
vnc-enc-zrle.h Loading commit data...
vnc-enc-zywrle-template.c Loading commit data...
vnc-enc-zywrle.h Loading commit data...
vnc-jobs.c Loading commit data...
vnc-jobs.h Loading commit data...
vnc-palette.c Loading commit data...
vnc-palette.h Loading commit data...
vnc-stubs.c Loading commit data...
vnc-ws.c Loading commit data...
vnc-ws.h Loading commit data...
vnc.c Loading commit data...
vnc.h Loading commit data...
vnc_keysym.h Loading commit data...
x_keymap.c Loading commit data...
x_keymap.h Loading commit data...