mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 16:51:18 +00:00
White space clean up.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26080 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
86fdb04504
commit
d8b13a0a6d
2 changed files with 297 additions and 286 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-02-17 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSMenuView.m: White space cleanup.
|
||||
|
||||
2008-02-16 20:43-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSCell.m: Correction for bug#22332.
|
||||
|
|
|
@ -165,6 +165,8 @@ _addLeftBorderOffsetToRect(NSRect aRect)
|
|||
- (id) initWithFrame: (NSRect)aFrame
|
||||
{
|
||||
self = [super initWithFrame: aFrame];
|
||||
if (!self)
|
||||
return nil;
|
||||
|
||||
[self setFont: [NSFont menuFontOfSize: 0.0]];
|
||||
|
||||
|
@ -185,6 +187,8 @@ _addLeftBorderOffsetToRect(NSRect aRect)
|
|||
- (id) initAsTearOff
|
||||
{
|
||||
[self initWithFrame: NSZeroRect];
|
||||
if (!self)
|
||||
return nil;
|
||||
|
||||
if (_attachedMenu)
|
||||
[_attachedMenu setTornOff: YES];
|
||||
|
@ -1623,6 +1627,9 @@ _addLeftBorderOffsetToRect(NSRect aRect)
|
|||
- (id) initWithCoder: (NSCoder*)decoder
|
||||
{
|
||||
self = [super initWithCoder: decoder];
|
||||
if (!self)
|
||||
return nil;
|
||||
|
||||
if ([decoder allowsKeyedCoding] == NO)
|
||||
{
|
||||
[decoder decodeValueOfObjCType: @encode(id) at: &_itemCells];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue