diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-04-23 15:44:31 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-25 14:45:46 -0500 |
commit | 5209089fcd1373c363dc424827593ffaced12203 (patch) | |
tree | fe84ffff6e59236542d668b8cb869f4a397af1d3 /ui/sdl.c | |
parent | cdd5b9375744130e2f49548a3cac7be176a931ca (diff) |
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/sdl.c')
-rw-r--r-- | ui/sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -937,7 +937,7 @@ void sdl_display_init(DisplayState *ds, int full_screen, int no_frame) dcl = g_malloc0(sizeof(DisplayChangeListener)); dcl->ops = &dcl_ops; - register_displaychangelistener(ds, dcl); + register_displaychangelistener(dcl); mouse_mode_notifier.notify = sdl_mouse_mode_change; qemu_add_mouse_mode_change_notifier(&mouse_mode_notifier); |