]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ui/cocoa.m: Update to new DisplayChangeListener member names
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Nov 2012 14:54:43 +0000 (14:54 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 2 Nov 2012 16:12:30 +0000 (11:12 -0500)
Commit a93a4a2 changed the names of some fields in DisplayChangeListener
and broke compilation of the cocoa UI. Update to the new names.

Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/cocoa.m

index 2383646dc0466d234295a5aae0c4c56a3303bf49..87d2e44c6901098b076d62af805ec3bd55915123 100644 (file)
@@ -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);