diff options
author | Alan Third <alan@idiocy.org> | 2016-07-07 20:42:11 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2016-07-07 20:48:35 +0100 |
commit | 5508f06f3283b4129cd70340a58ba608cc810d4e (patch) | |
tree | d0968298b39e819e6364b2032a4a6a5bf21b296f /src/nsmenu.m | |
parent | 42ac8f5723a6a1e70cca39d08c222f595828d34d (diff) | |
download | emacs-5508f06f3283b4129cd70340a58ba608cc810d4e.tar.gz |
Fix some deprecated functions
* src/nsterm.m (firstRectForCharacterRange): In OS X >10.6 replace
convertBaseToScreen with convertRectToScreen.
* src/nsmenu.m (ns_update_menubar): Remove attachedMenu, deprecated in
OS X 10.2, and always seems to return nil.
Diffstat (limited to 'src/nsmenu.m')
-rw-r--r-- | src/nsmenu.m | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index 7d340e8ec83..10dfe8aac13 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -136,12 +136,6 @@ ns_update_menubar (struct frame *f, bool deep_p, EmacsMenu *submenu) menu = [[EmacsMenu alloc] initWithTitle: ns_app_name]; needsSet = YES; } - else - { /* close up anything on there */ - id attMenu = [menu attachedMenu]; - if (attMenu != nil) - [attMenu close]; - } #if NSMENUPROFILE ftime (&tb); |