diff options
author | Gerd Hoffmann | 2013-03-01 13:03:04 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2013-03-18 10:21:59 +0100 |
commit | bc2ed9704fff2c721e4056ab5281f0291718bfa6 (patch) | |
tree | a08cb5357c40ba5a0d29bdfc7eadef8ea64c5942 /hw | |
parent | cocoa: stop using DisplayState (diff) | |
download | qemu-bc2ed9704fff2c721e4056ab5281f0291718bfa6.tar.gz qemu-bc2ed9704fff2c721e4056ab5281f0291718bfa6.tar.xz qemu-bc2ed9704fff2c721e4056ab5281f0291718bfa6.zip |
console: zap displaystate from dcl callbacks
Now that nobody depends on DisplayState in DisplayChangeListener
callbacks any more we can remove the parameter from all callbacks.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/qxl.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1865,7 +1865,6 @@ static void qxl_vm_change_state_handler(void *opaque, int running, /* display change listener */ static void display_update(DisplayChangeListener *dcl, - struct DisplayState *ds, int x, int y, int w, int h) { PCIQXLDevice *qxl = container_of(dcl, PCIQXLDevice, ssd.dcl); @@ -1876,7 +1875,6 @@ static void display_update(DisplayChangeListener *dcl, } static void display_switch(DisplayChangeListener *dcl, - struct DisplayState *ds, struct DisplaySurface *surface) { PCIQXLDevice *qxl = container_of(dcl, PCIQXLDevice, ssd.dcl); @@ -1887,8 +1885,7 @@ static void display_switch(DisplayChangeListener *dcl, } } -static void display_refresh(DisplayChangeListener *dcl, - struct DisplayState *ds) +static void display_refresh(DisplayChangeListener *dcl) { PCIQXLDevice *qxl = container_of(dcl, PCIQXLDevice, ssd.dcl); |