mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
* 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:
parent
78d87d1353
commit
c1972529da
2 changed files with 18 additions and 5 deletions
|
@ -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>
|
||||
|
||||
* configure.ac: added code to detect the presence of
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue