mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:27:38 +00:00
Moved PasteboardServer.h to the Tools directory and added a log message
where we can't contact the pasteboard server. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
157e365af3
commit
c65510eff3
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include <gnustep/gui/config.h>
|
||||
#include <AppKit/NSPasteboard.h>
|
||||
#include <AppKit/PasteboardServer.h>
|
||||
#include "../Tools/PasteboardServer.h"
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
|
@ -103,6 +103,10 @@ static id<PasteboardServer> the_server = nil;
|
|||
name: NSConnectionDidDieNotification
|
||||
object: conn];
|
||||
}
|
||||
else {
|
||||
NSLog(@"Unable to contact pasteboard server - "
|
||||
@"please ensure that gpbs is running.\n");
|
||||
}
|
||||
}
|
||||
return the_server;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue