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/cocoa.m | |
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/cocoa.m')
-rw-r--r-- | ui/cocoa.m | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m index 9a56fb8912..8e0eaa2601 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -955,7 +955,6 @@ int main (int argc, const char * argv[]) { #pragma mark qemu static void cocoa_update(DisplayChangeListener *dcl, - DisplayState *dontuse, int x, int y, int w, int h) { COCOA_DEBUG("qemu_cocoa: cocoa_update\n"); @@ -974,7 +973,6 @@ static void cocoa_update(DisplayChangeListener *dcl, } static void cocoa_switch(DisplayChangeListener *dcl, - DisplayState *dontuse, DisplaySurface *surface) { COCOA_DEBUG("qemu_cocoa: cocoa_resize\n"); @@ -982,8 +980,7 @@ static void cocoa_switch(DisplayChangeListener *dcl, [cocoaView switchSurface:surface]; } -static void cocoa_refresh(DisplayChangeListener *dcl, - DisplayState *dontuse) +static void cocoa_refresh(DisplayChangeListener *dcl) { COCOA_DEBUG("qemu_cocoa: cocoa_refresh\n"); |