* nsterm.m (accessibilityAttributeValue): Surround with NS_IMPL_COCOA.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 21 Jul 2012 12:10:49 +0000 (14:10 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 21 Jul 2012 12:10:49 +0000 (14:10 +0200)
src/ChangeLog
src/nsterm.m

index ab1f136..ed0ea6d 100644 (file)
@@ -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  <cyd@gnu.org>
 
index 09bbe2c..e018ea3 100644 (file)
@@ -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.  */