macosx: replace controlsbar updating code by a safer helpermaster
commitb2c77d44972b6736eccb3111f8c1f45dc0d6b3ce
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Thu, 13 Aug 2015 19:06:24 +0000 (13 21:06 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Thu, 13 Aug 2015 19:11:45 +0000 (13 21:11 +0200)
treeb9cb4f14edbdfc2f88a035e97ef6db65c0c7e2d9
parentc8961ccb94dca25b49717018fef91fe413f5c936
macosx: replace controlsbar updating code by a safer helper

In the previous implementation was so unsafe that the ARC
compiler was not able work properly and printed a warning.

While there was no real problem here, switch to blocks to
silence the compiler and see potential errors earlier.
modules/gui/macosx/MainWindow.m
modules/gui/macosx/VLCVoutWindowController.h
modules/gui/macosx/VLCVoutWindowController.m