From 784051c42a953356befde5e9fa4a98b433b55a7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sat, 21 Jul 2012 14:10:49 +0200 Subject: [PATCH] * nsterm.m (accessibilityAttributeValue): Surround with NS_IMPL_COCOA. --- src/ChangeLog | 1 + src/nsterm.m | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index ab1f136e6cc..ed0ea6d3a17 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * nsterm.m (accessibilityAttributeValue): New function. (Bug#11134). (conversationIdentifier): Return value is NSInteger. + * nsterm.m (accessibilityAttributeValue): Surround with NS_IMPL_COCOA. 2012-07-21 Chong Yidong diff --git a/src/nsterm.m b/src/nsterm.m index 09bbe2c3f5a..e018ea34910 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6038,6 +6038,7 @@ ns_term_shutdown (int sig) @implementation EmacsWindow +#ifdef NS_IMPL_COCOA - (id)accessibilityAttributeValue:(NSString *)attribute { Lisp_Object str = Qnil; @@ -6092,6 +6093,7 @@ ns_term_shutdown (int sig) return [super accessibilityAttributeValue:attribute]; } +#endif /* NS_IMPL_COCOA */ /* If we have multiple monitors, one above the other, we don't want to restrict the height to just one monitor. So we override this. */ -- 2.39.2