[vlc-commits] macosx: manage main window with an NSWindowController, simplify VLCMain

David Fuhrmann git at videolan.org
Tue Aug 11 20:18:13 CEST 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Aug 11 18:56:23 2015 +0200| [e5940f08f1f77df53b3c4db13ac5e6fe66edb1dc] | committer: David Fuhrmann

macosx: manage main window with an NSWindowController, simplify VLCMain

The window controller ensures that all top-level objects of the
mainwindow xib are properly released.

This removes the last occurence of VLCMain in xib files, thus
awakeFromNib will not be called for this object anymore. The code
has been moved to initThis removes the last occurence of VLCMain in xib files, thus
awakeFromNib will not be called for this object anymore. The code
has been moved to init.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5940f08f1f77df53b3c4db13ac5e6fe66edb1dc
---

 .../macosx/Resources/English.lproj/MainWindow.xib  |   20 ++--
 modules/gui/macosx/InputManager.m                  |    2 +-
 modules/gui/macosx/intf.h                          |    7 +-
 modules/gui/macosx/intf.m                          |  122 +++++++++-----------
 4 files changed, 67 insertions(+), 84 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=e5940f08f1f77df53b3c4db13ac5e6fe66edb1dc


More information about the vlc-commits mailing list