aboutsummaryrefslogtreecommitdiff
path: root/ui/cocoa.m
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-04-23 15:44:31 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-25 14:45:46 -0500
commit5209089fcd1373c363dc424827593ffaced12203 (patch)
treefe84ffff6e59236542d668b8cb869f4a397af1d3 /ui/cocoa.m
parentcdd5b9375744130e2f49548a3cac7be176a931ca (diff)
downloadqemu-5209089fcd1373c363dc424827593ffaced12203.zip
qemu-5209089fcd1373c363dc424827593ffaced12203.tar.gz
qemu-5209089fcd1373c363dc424827593ffaced12203.tar.bz2
console: zap ds arg from register_displaychangelistener
We don't have multiple DisplayStates any more, so passing it in as argument is not needed. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/cocoa.m')
-rw-r--r--ui/cocoa.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index d51462a..1971d9c 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -1030,7 +1030,7 @@ void cocoa_display_init(DisplayState *ds, int full_screen)
// register vga output callbacks
dcl->ops = &dcl_ops;
- register_displaychangelistener(ds, dcl);
+ register_displaychangelistener(dcl);
// register cleanup function
atexit(cocoa_cleanup);