# HG changeset patch # User Chong Yidong # Date 1217606869 0 # Node ID 03666fbbecf26bff166d74ea12d4fff6e7268aff # Parent 69be58201e63cb76eb25f2c03821fbbcd1c26a22 (EmacsApp -application:openFiles:): GNUStep does not define NSApplicationDelegateReplySuccess. (EmacsView -converstationIdentifier): Use long instead of NSInteger for GNUStep, since it doesn't have NSInteger. diff -r 69be58201e63 -r 03666fbbecf2 src/nsterm.m --- a/src/nsterm.m Fri Aug 01 16:07:14 2008 +0000 +++ b/src/nsterm.m Fri Aug 01 16:07:49 2008 +0000 @@ -4132,7 +4132,13 @@ NSString *file; while ((file = [files nextObject]) != nil) [ns_pending_files addObject: file]; + +#ifdef NS_IMPL_GNUSTEP + [self replyToOpenOrPrint: 0]; +#else [self replyToOpenOrPrint: NSApplicationDelegateReplySuccess]; +#endif /* NS_IMPL_GNUSTEP */ + } /* TODO: these may help w/IO switching btwn terminal and NSApp */ @@ -4639,10 +4645,17 @@ return rect; } +#ifdef NS_IMPL_GNUSTEP +- (long)conversationIdentifier +{ + return (long)self; +} +#else - (NSInteger)conversationIdentifier { return (NSInteger)self; } +#endif /* TODO: below here not yet implemented correctly, but may not be needed */