aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsmenu.m
diff options
context:
space:
mode:
authorAlan Third2017-03-07 14:45:03 +0000
committerAlan Third2017-03-14 14:45:41 +0000
commitea5a7f990dc56ab92b04d668fcf72bb330bf2d78 (patch)
tree1ffe12f1e05f73a35a00650e0cb26db72e32303a /src/nsmenu.m
parent19a04b4c327aab2ac7c3089adf891aa8078ef19c (diff)
downloademacs-ea5a7f990dc56ab92b04d668fcf72bb330bf2d78.tar.gz
emacs-ea5a7f990dc56ab92b04d668fcf72bb330bf2d78.zip
Remove old macOS compatibility code
* src/nsimage.m, src/nsmenu.m, src/nsterm.m: Remove code only for macOS versions below 10.6 as they are not supported in Emacs 25+.
Diffstat (limited to 'src/nsmenu.m')
-rw-r--r--src/nsmenu.m5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m
index 5c6442ad0e8..59ea3855ed1 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -1519,11 +1519,6 @@ ns_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents)
1519 area.size.width = ICONSIZE; 1519 area.size.width = ICONSIZE;
1520 area.size.height= ICONSIZE; 1520 area.size.height= ICONSIZE;
1521 img = [[NSImage imageNamed: @"NSApplicationIcon"] copy]; 1521 img = [[NSImage imageNamed: @"NSApplicationIcon"] copy];
1522#ifdef NS_IMPL_COCOA
1523#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
1524 [img setScalesWhenResized: YES];
1525#endif
1526#endif
1527 [img setSize: NSMakeSize (ICONSIZE, ICONSIZE)]; 1522 [img setSize: NSMakeSize (ICONSIZE, ICONSIZE)];
1528 imgView = [[NSImageView alloc] initWithFrame: area]; 1523 imgView = [[NSImageView alloc] initWithFrame: area];
1529 [imgView setImage: img]; 1524 [imgView setImage: img];