mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:30:48 +00:00
Switch XIB cursor logs to Debug level
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37631 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3860611cea
commit
a139d7094a
4 changed files with 5 additions and 3 deletions
|
@ -671,7 +671,7 @@ backgroundColorHint:(NSColor *)bg
|
|||
|
||||
if ([[image name] isEqualToString:@"file://localhost/Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/DVTIbeamCursor.tiff"])
|
||||
{
|
||||
NSLog(@"An NSCursor object was encoded with the image "
|
||||
NSDebugLog(@"An NSCursor object was encoded with the image "
|
||||
@"file://localhost/Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/DVTIbeamCursor.tiff. "
|
||||
@"This cursor was automatically substituted with [NSCursor IBeamCursor].");
|
||||
|
||||
|
|
|
@ -1730,7 +1730,7 @@ static NSSize GSResolutionOfImageRep(NSImageRep *rep)
|
|||
else if ([[tmp absoluteString] rangeOfString:@"/Xcode.app/"].length > 0
|
||||
|| [[tmp absoluteString] rangeOfString:@"/DVTKit.framework/"].length > 0)
|
||||
{
|
||||
NSLog (@"WARNING: Decoding image with absolute path %@."
|
||||
NSDebugLog (@"WARNING: Decoding image with absolute path %@."
|
||||
@" Xcode may have inserted this in your XIB and the"
|
||||
@" image may not be available in the app's resources"
|
||||
, [tmp absoluteString]);
|
||||
|
|
|
@ -119,7 +119,6 @@ static NSMutableArray *screenArray = nil;
|
|||
[screenArray addObject: screen];
|
||||
RELEASE(screen);
|
||||
}
|
||||
NSLog(@"NSScreen:screens: %@", screenArray);
|
||||
|
||||
return [NSArray arrayWithArray: screenArray];
|
||||
}
|
||||
|
|
|
@ -92,6 +92,9 @@
|
|||
_selected = nil;
|
||||
RELEASE(_items);
|
||||
RELEASE(_font);
|
||||
// Reset the _selected attribute to prevent crash when -dealloc calls
|
||||
// -setNextKeyView:
|
||||
_selected = nil;
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue