* Source/GSToolbar.m ([GSValidationManager-initWithWindow:):

Move variable declarations to the beginning of the block.
        Format according to standards.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19444 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-06-02 15:43:19 +00:00
parent 78d87d1353
commit c1972529da
2 changed files with 18 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2004-06-02 Riccardo Mottola <rollei@tiscalinet.it>
David Ayers <d.ayers@inode.at>
* Source/GSToolbar.m ([GSValidationManager-initWithWindow:):
Move variable declarations to the beginning of the block.
Format according to standards.
2004-06-01 Gregory John Casamento <greg_casamento@yahoo.com> 2004-06-01 Gregory John Casamento <greg_casamento@yahoo.com>
* configure.ac: added code to detect the presence of * configure.ac: added code to detect the presence of

View file

@ -202,10 +202,13 @@ static id validationCenter;
@implementation GSValidationManager @implementation GSValidationManager
- (id) initWithWindow: (NSWindow *)window { - (id) initWithWindow: (NSWindow *)window
{
if ((self = [super init]) != nil) if ((self = [super init]) != nil)
{; {
NSView *vw = [window _windowView]; NSView *vw;
vw = [window _windowView];
ASSIGN(_window, window); ASSIGN(_window, window);
[nc addObserver: self selector: @selector(windowDidUpdate:) [nc addObserver: self selector: @selector(windowDidUpdate:)
@ -214,8 +217,11 @@ static id validationCenter;
name: NSWindowWillCloseNotification object: _window]; name: NSWindowWillCloseNotification object: _window];
ASSIGN(_trackingRectView, vw); ASSIGN(_trackingRectView, vw);
_trackingRect = [_trackingRectView addTrackingRect: _trackingRect
[_trackingRectView bounds] owner: self userData: nil assumeInside: NO]; = [_trackingRectView addTrackingRect: [_trackingRectView bounds]
owner: self
userData: nil
assumeInside: NO];
} }
return self; return self;