]> code.delx.au - gnu-emacs/commit
Fix crash on OSX >= 10.7.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 11 Aug 2013 15:34:26 +0000 (17:34 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 11 Aug 2013 15:34:26 +0000 (17:34 +0200)
commitf90e3ebd13de8169ada56274f3abaa1ea8dc6d05
treed7967ba697c4bc6cd608f1451e3ab0a44050ff75
parent423d3b3f9acf6b4d9f9a0b8a22a20809896117e4
Fix crash on OSX >= 10.7.

* nsmenu.m (ns_update_menubar): Call fillWithWidgetValue:frame:
(initWithTitle:): Initialize frame to 0.
(fillWithWidgetValue:): Call fillWithWidgetValue:frame.
(fillWithWidgetValue:frame:): Renamed from
fillWithWidgetValue:setDelegate, call initWithTile:frame: if f.

* nsterm.h (EmacsMenu): fillWithWidgetValue:setDelegate renamed to
fillWithWidgetValue:frame:
src/ChangeLog
src/nsmenu.m
src/nsterm.h