From patchwork Fri Nov 2 14:54:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: ui/cocoa.m: Update to new DisplayChangeListener member names Date: Fri, 02 Nov 2012 04:54:43 -0000 From: Peter Maydell X-Patchwork-Id: 196578 Message-Id: <1351868083-26313-1-git-send-email-peter.maydell@linaro.org> To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , patches@linaro.org Commit a93a4a2 changed the names of some fields in DisplayChangeListener and broke compilation of the cocoa UI. Update to the new names. Signed-off-by: Peter Maydell Acked-by: Gerd Hoffmann Reviewed-by: Andreas Färber --- ui/cocoa.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 2383646..87d2e44 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -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);