]> git.eshelyaron.com Git - emacs.git/commitdiff
Nextstep: Replace deprecated enumerators
authorPhilipp Stephani <phst@google.com>
Sat, 20 May 2017 14:50:40 +0000 (16:50 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 21 May 2017 19:50:10 +0000 (21:50 +0200)
* src/nsmenu.m (initWithContentRect:styleMask:backing:defer:): Replace
deprecated enumerator.

src/nsmenu.m

index 8dcbe194d5740f14f45cbf3d660e88d91d690a77..37a1a62d6d3a0b77a0bea57751f5fd401da61af5 100644 (file)
@@ -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;