summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2017-05-20 16:50:40 +0200
committerPhilipp Stephani <phst@google.com>2017-05-21 21:50:10 +0200
commit74d43044d3ad0f875034a1ee5510507ff59a70c8 (patch)
tree358d67d0a793d1253ce58e7f4f8b26c1abd8743c /src
parent762be778fcb55bc56286d3abc1bd92a3331423d9 (diff)
downloademacs-74d43044d3ad0f875034a1ee5510507ff59a70c8.tar.gz
Nextstep: Replace deprecated enumerators
* src/nsmenu.m (initWithContentRect:styleMask:backing:defer:): Replace deprecated enumerator.
Diffstat (limited to 'src')
-rw-r--r--src/nsmenu.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m
index 8dcbe194d57..37a1a62d6d3 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -1517,7 +1517,7 @@ ns_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents)
[img autorelease];
[imgView autorelease];
- aStyle = NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSUtilityWindowMask;
+ aStyle = NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskUtilityWindow;
flag = YES;
rows = 0;
cols = 1;