mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 13:10:57 -08:00
(EmacsApp -application:openFiles:): GNUStep does not
define NSApplicationDelegateReplySuccess. (EmacsView -converstationIdentifier): Use long instead of NSInteger for GNUStep, since it doesn't have NSInteger.
This commit is contained in:
parent
6fcb12fdcf
commit
98a2166aef
1 changed files with 13 additions and 0 deletions
13
src/nsterm.m
13
src/nsterm.m
|
|
@ -4132,7 +4132,13 @@ fprintf (stderr, "res = %d\n", EQ (res, Qt)); /* FIXME */
|
|||
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 @@ if (NS_KEYLOG) NSLog (@"firstRectForCharRange request");
|
|||
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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue