mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:40:38 +00:00
Make last change conditionally compiled
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17103 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3d611ba66c
commit
cdabc4082d
2 changed files with 7 additions and 1 deletions
|
@ -960,9 +960,11 @@ static NSMapTable *mimeMap = NULL;
|
|||
if (RETAIN((id)the_server) != nil)
|
||||
{
|
||||
NSConnection *conn = [(id)the_server connectionForProxy];
|
||||
#if 0 // When compilers work!
|
||||
Protocol *p = @protocol(GSPasteboardSvr);
|
||||
|
||||
[(id)the_server setProtocolForProxy: p];
|
||||
#endif
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
addObserver: self
|
||||
selector: @selector(_lostServer:)
|
||||
|
@ -1113,12 +1115,14 @@ static NSMapTable *mimeMap = NULL;
|
|||
{
|
||||
NSPasteboard *ret;
|
||||
|
||||
#if 0 // When compilers work
|
||||
if ([(id)anObj isProxy] == YES)
|
||||
{
|
||||
Protocol *p = @protocol(GSPasteboardObj);
|
||||
|
||||
[(id)anObj setProtocolForProxy: p];
|
||||
}
|
||||
#endif
|
||||
ret = [self _pasteboardWithTarget: anObj name: aName];
|
||||
NS_VALRETURN(ret);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue