]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
gtk: stop using DisplayState
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 28 Feb 2013 15:10:02 +0000 (16:10 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Mar 2013 09:21:58 +0000 (10:21 +0100)
commit9d9801cf803cdceaa4845fe27150b24d5ab083e6
tree943a82651fa0c0f6010a3181dc432b62665b22a4
parent626e3b34e30bc62d4f25f7aa4e23a346eba1a2c0
gtk: stop using DisplayState

Rework DisplayStateListener callbacks to not use the DisplayState
any more.  Factor out the window size handling to a separate function,
so the zoom callbacks can call that directly instead of abusing the
gd_switch DisplayStateListener callback for that.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c