[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/13] Fix call of registerServicesMenuSendTypes
From: |
Philipp Stephani |
Subject: |
[PATCH 12/13] Fix call of registerServicesMenuSendTypes |
Date: |
Sat, 20 May 2017 16:58:40 +0200 |
* src/nsterm.m (initFrameFromEmacs:): nil is not allowed for
returnTypes; pass an empty array instead.
---
src/nsterm.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nsterm.m b/src/nsterm.m
index 0667ebb45b..27c5792800 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7022,7 +7022,7 @@ - (instancetype) initFrameFromEmacs: (struct frame *)f
[self allocateGState];
#endif
[NSApp registerServicesMenuSendTypes: ns_send_types
- returnTypes: nil];
+ returnTypes: [NSArray array]];
/* macOS Sierra automatically enables tabbed windows. We can't
allow this to be enabled until it's available on a Free system.
--
2.13.0
- [PATCH 02/13] Declare Nextstep unexec functions in lisp.h, (continued)
- [PATCH 02/13] Declare Nextstep unexec functions in lisp.h, Philipp Stephani, 2017/05/20
- [PATCH 05/13] Make a function static that isn't used outside this file, Philipp Stephani, 2017/05/20
- [PATCH 04/13] Use NSCharacterCollection instead of CTCharacterCollection, Philipp Stephani, 2017/05/20
- [PATCH 03/13] Remove unused function print_regions, Philipp Stephani, 2017/05/20
- [PATCH 07/13] Remove trailing semicolons in method definitions, Philipp Stephani, 2017/05/20
- [PATCH 09/13] Nextstep: Replace deprecated enumerators, Philipp Stephani, 2017/05/20
- [PATCH 08/13] Nextstep: remove some deprecated method calls, Philipp Stephani, 2017/05/20
- [PATCH 06/13] Remove calls to deprecated setUsesScreenFonts, Philipp Stephani, 2017/05/20
- [PATCH 10/13] Remove unused automatic variables, Philipp Stephani, 2017/05/20
- [PATCH 11/13] Clean up code around 'ns-list-services', Philipp Stephani, 2017/05/20
- [PATCH 12/13] Fix call of registerServicesMenuSendTypes,
Philipp Stephani <=
- [PATCH 13/13] Avoid uninitialized read, Philipp Stephani, 2017/05/20
- Re: [PATCH 01/13] Nextstep: Use instancetype explicit return type, Paul Eggert, 2017/05/20
- Re: [PATCH 01/13] Nextstep: Use instancetype explicit return type, Paul Eggert, 2017/05/21