Minor updates.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21285 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-06-04 19:52:40 +00:00
parent f15b1a56b7
commit 15fa68d502
3 changed files with 13 additions and 6 deletions

View file

@ -746,7 +746,7 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
BOOL changedOrigin = NO;
// reposition the window on the screen.
if (_autoPositionMask == GSWindowAutosizeNone)
if (_autoPositionMask == GSWindowAutoPositionNone)
return;
/*
@ -827,7 +827,7 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
{
// decode the defer flag...
[coder decodeValueOfObjCType: @encode(BOOL) at: &_deferFlag];
_autoPositionMask = GSWindowAutosizeNone;
_autoPositionMask = GSWindowAutoPositionNone;
_screenRect = [[_object screen] frame];
}
@ -847,10 +847,10 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
// set the content view back
[obj setContentView: contentView];
// autoposition window
[self autoPositionWindow: obj];
}
// autoposition window
[self autoPositionWindow: obj];
}
else
{