diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-01 13:03:04 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-18 10:21:59 +0100 |
commit | bc2ed9704fff2c721e4056ab5281f0291718bfa6 (patch) | |
tree | a08cb5357c40ba5a0d29bdfc7eadef8ea64c5942 /ui/spice-display.c | |
parent | 5e00d3ac475fb4c9afa17612a908e933fe142f00 (diff) |
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 'ui/spice-display.c')
-rw-r--r-- | ui/spice-display.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c index 5bbe23b8ba..2127b3f37e 100644 --- a/ui/spice-display.c +++ b/ui/spice-display.c @@ -583,7 +583,6 @@ static const QXLInterface dpy_interface = { }; static void display_update(DisplayChangeListener *dcl, - struct DisplayState *ds, int x, int y, int w, int h) { SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); @@ -591,15 +590,13 @@ static void display_update(DisplayChangeListener *dcl, } static void display_switch(DisplayChangeListener *dcl, - struct DisplayState *ds, struct DisplaySurface *surface) { SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); qemu_spice_display_switch(ssd, surface); } -static void display_refresh(DisplayChangeListener *dcl, - struct DisplayState *ds) +static void display_refresh(DisplayChangeListener *dcl) { SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); qemu_spice_display_refresh(ssd); |