mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Updates to support services
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3317 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9ab3c75337
commit
d438ecfaed
4 changed files with 1353 additions and 620 deletions
|
@ -1022,7 +1022,17 @@ NSView *v;
|
|||
- validRequestorForSendType:(NSString *)sendType
|
||||
returnType:(NSString *)returnType
|
||||
{
|
||||
return nil;
|
||||
id result = nil;
|
||||
|
||||
if (delegate && [delegate respondsToSelector: _cmd])
|
||||
result = [delegate validRequestorForSendType: sendType
|
||||
returnType: returnType];
|
||||
|
||||
if (result == nil)
|
||||
result = [[NSApplication sharedApplication]
|
||||
validRequestorForSendType: sendType
|
||||
returnType: returnType];
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue