Commit 1d8ddda0 authored by Peter Maydell's avatar Peter Maydell Committed by Anthony Liguori
Browse files

ui/cocoa.m: Update to new DisplayChangeListener member names



Commit a93a4a22 changed the names of some fields in DisplayChangeListener
and broke compilation of the cocoa UI. Update to the new names.

Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarAndreas Färber <andreas.faerber@web.de>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent dc63936d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1017,8 +1017,8 @@ void cocoa_display_init(DisplayState *ds, int full_screen)
    dcl = g_malloc0(sizeof(DisplayChangeListener));

    // register vga output callbacks
    dcl->dpy_update = cocoa_update;
    dcl->dpy_resize = cocoa_resize;
    dcl->dpy_gfx_update = cocoa_update;
    dcl->dpy_gfx_resize = cocoa_resize;
    dcl->dpy_refresh = cocoa_refresh;

	register_displaychangelistener(ds, dcl);