mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Made some of the NSLog messages more explicit on what did go wrong.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17495 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
60b9250a9c
commit
1a8c599b43
1 changed files with 5 additions and 3 deletions
|
@ -563,7 +563,8 @@ static NSString *xWaitMode = @"XPasteboardWaitMode";
|
|||
if ([self waitingForSelection] != 0)
|
||||
{
|
||||
[self setWaitingForSelection: 0];
|
||||
NSLog(@"Timed out waiting for X selection");
|
||||
NSLog(@"Timed out waiting for X selection '%s'",
|
||||
XGetAtomName(xDisplay, xType));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -585,7 +586,7 @@ static NSString *xWaitMode = @"XPasteboardWaitMode";
|
|||
}
|
||||
else
|
||||
{
|
||||
NSLog(@"Request for non-string info from X pasteboard");
|
||||
NSLog(@"Request for non-string info from X pasteboard: %@", type);
|
||||
}
|
||||
[pb setData: [self data] forType: type];
|
||||
}
|
||||
|
@ -751,7 +752,8 @@ xErrorHandler(Display *d, XErrorEvent *e)
|
|||
}
|
||||
else
|
||||
{
|
||||
NSLog(@"Unsupported data type from X selection.");
|
||||
NSLog(@"Unsupported data type '%s' from X selection.",
|
||||
XGetAtomName(xDisplay, actual_type));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue