Remove debugging printf:s.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16900 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-06-10 10:43:26 +00:00
parent d10d57c53e
commit 02ef01adc7

View file

@ -32,6 +32,7 @@
#include <Foundation/NSSet.h>
#include <Foundation/NSMapTable.h>
#include <Foundation/NSException.h>
#include <Foundation/NSDebug.h>
#include <AppKit/NSGraphicsContext.h>
#include <AppKit/NSFont.h>
@ -1014,7 +1015,6 @@ static BOOL flip_hack;
- (void) encodeWithCoder: (NSCoder*)aCoder
{
printf("encoding role %i\n",role);
[aCoder encodeValueOfObjCType: @encode(int) at: &role];
if (role == 0)
@ -1037,12 +1037,10 @@ static BOOL flip_hack;
BOOL fix;
int the_role;
printf("[NSFont -initWithCoder:] version %i\n",version);
if (version == 3)
{
[aDecoder decodeValueOfObjCType: @encode(int)
at: &the_role];
printf("got explicit role %i\n",the_role);
}
else
{
@ -1134,8 +1132,7 @@ static BOOL flip_hack;
break;
default:
// NSDebugLLog(@"NSFont", @"unknown role %i", the_role);
printf("unknown role %i", the_role);
NSDebugLLog(@"NSFont", @"unknown role %i", the_role);
/* fall through */
case RoleUserFont:
new = [isa userFontOfSize: size];