From 62b492f8b905f1550bfb77e7d78e488aed24f6b7 Mon Sep 17 00:00:00 2001 From: ayers Date: Wed, 2 Jun 2004 15:43:19 +0000 Subject: [PATCH] * 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 --- ChangeLog | 7 +++++++ Source/GSToolbar.m | 16 +++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index f68ba35c5..268723e74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-06-02 Riccardo Mottola + David Ayers + + * Source/GSToolbar.m ([GSValidationManager-initWithWindow:): + Move variable declarations to the beginning of the block. + Format according to standards. + 2004-06-01 Gregory John Casamento * configure.ac: added code to detect the presence of diff --git a/Source/GSToolbar.m b/Source/GSToolbar.m index 280e91bec..a480fd9fe 100644 --- a/Source/GSToolbar.m +++ b/Source/GSToolbar.m @@ -202,10 +202,13 @@ static id validationCenter; @implementation GSValidationManager -- (id) initWithWindow: (NSWindow *)window { +- (id) initWithWindow: (NSWindow *)window +{ if ((self = [super init]) != nil) - {; - NSView *vw = [window _windowView]; + { + NSView *vw; + + vw = [window _windowView]; ASSIGN(_window, window); [nc addObserver: self selector: @selector(windowDidUpdate:) @@ -214,8 +217,11 @@ static id validationCenter; name: NSWindowWillCloseNotification object: _window]; ASSIGN(_trackingRectView, vw); - _trackingRect = [_trackingRectView addTrackingRect: - [_trackingRectView bounds] owner: self userData: nil assumeInside: NO]; + _trackingRect + = [_trackingRectView addTrackingRect: [_trackingRectView bounds] + owner: self + userData: nil + assumeInside: NO]; } return self;