ui/cocoa.m: Update to new DisplayChangeListener member names
PATCH 1/1 ui/cocoa.m: Update to new DisplayChangeListener member names
Commit a93a4a2 changed the names of some fields in DisplayChangeListener and broke compilation of the cocoa UI. Update to the new names.
--- ui/cocoa.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ui/cocoa.m +2 -2
@@ -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);
Signature · 1 line
1.7.11.4
Quoted 4 lines · Peter Maydell
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 <[email protected]>
cheers,
Gerd
Am 02.11.2012 15:54, schrieb Peter Maydell:
Quoted 4 lines
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 <[email protected]>
Peter, you didn't cc me - through whose queue is this supposed to go? I don't have any other Cocoa patches queued for v1.3.
Thanks,
Andreas
Quoted 10 lines · Andreas Färber
Am 02.11.2012 15:54, schrieb Peter Maydell:
Quoted 4 lines
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 <[email protected]>Reviewed-by Andreas Färber <[email protected]>Peter, you didn't cc me - through whose queue is this supposed to go? I don't have any other Cocoa patches queued for v1.3.
Sorry, I forgot the cc. I don't care whose queue it goes through (I have no relevant queue myself).
(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))
-- PMM
Hi,
Quoted 3 lines
(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))
/me too. Build fixes should go in on the fast track. First because a broken build is annonying. Second because buildbots are less useful if builds are broken for longer periods.
One of the reasons I didn't notice the xenfb breakage was because the fedora build is broken for other reasons, so the buildbot doesn't came to the point where it tries to build xenfb.c and figures it doesn't.
Should we maybe agree on a special buildfix patch subject tag, so maintainers can easily filter and prioritize them?
cheers,
Gerd
Hi,
Am 02.11.2012 16:41, schrieb Gerd Hoffmann:
Quoted 7 lines
Quoted 3 lines
(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))
/me too. Build fixes should go in on the fast track. First because a broken build is annonying. Second because buildbots are less useful if builds are broken for longer periods.
Fine with me, less work. We should cc a maintainer then. ;)
Quoted 6 lines
One of the reasons I didn't notice the xenfb breakage was because the fedora build is broken for other reasons, so the buildbot doesn't came to the point where it tries to build
xenfb.cand figures it doesn't.Should we maybe agree on a special buildfix patch subject tag, so maintainers can easily filter and prioritize them?
I used [PATCH buildfix] or so in the past.
Regards,
Andreas
Quoted 13 lines · Andreas Färber
Hi,
Am 02.11.2012 16:41, schrieb Gerd Hoffmann:
Quoted 7 lines
Quoted 3 lines
(I have a philosophical preference for compile fixes being applied directly and quickly to master but my opinion on that matter is not particularly significant :-))
/me too. Build fixes should go in on the fast track. First because a broken build is annonying. Second because buildbots are less useful if builds are broken for longer periods.
Fine with me, less work. We should cc a maintainer then. ;)
Quoted 8 lines
Quoted 6 lines
One of the reasons I didn't notice the xenfb breakage was because the fedora build is broken for other reasons, so the buildbot doesn't came to the point where it tries to build
xenfb.cand figures it doesn't.Should we maybe agree on a special buildfix patch subject tag, so maintainers can easily filter and prioritize them?
I used [PATCH buildfix] or so in the past.
Not all build errors are created equal.
It's impossible for me to build cocoa support without physical Apple hardware.
In this case, the cocoa maintainer (Andreas) should send an urgent pull request to ensure the patch is properly tested.
I'm applying right now, so no worries this time, but if you are a submaintainer, if there is something you consider urgent, you should send a pull request.
Regards,
Anthony Liguori
Quoted 3 lines
Regards,
Andreas
Anthony Liguori
AppliedQuoted 4 lines · Peter Maydell
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 <[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 21 lines
--- ui/cocoa.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)ui/cocoa.m +2
-2@@ -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);Signature · 1 line
1.7.11.4