mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
fix redundant semicolons
This commit is contained in:
parent
f10a62cba6
commit
bdcced992c
14 changed files with 32 additions and 32 deletions
|
@ -56,7 +56,7 @@ APPKIT_EXPORT_CLASS
|
|||
- (NSSize) minimumItemSize;
|
||||
|
||||
- (void) setMaximumItemSize: (NSSize)maxSize;
|
||||
- (NSSize) maximumItemSize;;
|
||||
- (NSSize) maximumItemSize;
|
||||
|
||||
- (void) setMargins: (NSEdgeInsets)insets;
|
||||
- (NSEdgeInsets) margins;
|
||||
|
|
|
@ -50,7 +50,7 @@ relativeCenterPosition: (NSPoint)relativeCenterPoint;
|
|||
|
||||
@implementation NSGradient
|
||||
|
||||
- (NSColorSpace *) colorSpace;
|
||||
- (NSColorSpace *) colorSpace
|
||||
{
|
||||
return _colorSpace;
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ relativeCenterPosition: (NSPoint)relativeCenterPoint
|
|||
*location = _locations[index];
|
||||
}
|
||||
|
||||
- (id) initWithColors: (NSArray *)colorArray;
|
||||
- (id) initWithColors: (NSArray *)colorArray
|
||||
{
|
||||
return [self initWithColors: colorArray
|
||||
atLocations: NULL
|
||||
|
@ -142,7 +142,7 @@ relativeCenterPosition: (NSPoint)relativeCenterPoint
|
|||
|
||||
- (id) initWithColors: (NSArray *)colorArray
|
||||
atLocations: (const CGFloat *)locations
|
||||
colorSpace: (NSColorSpace *)colorSpace;
|
||||
colorSpace: (NSColorSpace *)colorSpace
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
|
|
|
@ -359,7 +359,7 @@ NSGraphicsContext *GSCurrentContext(void)
|
|||
|
||||
|
||||
- (id) initWithGraphicsPort: (void *)port
|
||||
flipped: (BOOL)flag;
|
||||
flipped: (BOOL)flag
|
||||
{
|
||||
self = [self init];
|
||||
if (self != nil)
|
||||
|
|
|
@ -541,27 +541,27 @@
|
|||
return _xPlacement;
|
||||
}
|
||||
|
||||
- (void) setXPlacement: (NSGridCellPlacement)x;
|
||||
- (void) setXPlacement: (NSGridCellPlacement)x
|
||||
{
|
||||
_xPlacement = x;
|
||||
}
|
||||
|
||||
- (NSGridCellPlacement) yPlacement;
|
||||
- (NSGridCellPlacement) yPlacement
|
||||
{
|
||||
return _yPlacement;
|
||||
}
|
||||
|
||||
- (void) setYPlacement: (NSGridCellPlacement)y;
|
||||
- (void) setYPlacement: (NSGridCellPlacement)y
|
||||
{
|
||||
_yPlacement = y;
|
||||
}
|
||||
|
||||
- (NSGridRowAlignment) rowAlignment;
|
||||
- (NSGridRowAlignment) rowAlignment
|
||||
{
|
||||
return _rowAlignment;
|
||||
}
|
||||
|
||||
- (void) setRowAlignment: (NSGridRowAlignment)a;
|
||||
- (void) setRowAlignment: (NSGridRowAlignment)a
|
||||
{
|
||||
_rowAlignment = a;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
constant: c];
|
||||
}
|
||||
|
||||
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c;
|
||||
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c
|
||||
{
|
||||
return [NSLayoutConstraint constraintWithItem: _item
|
||||
attribute: NSLayoutAttributeLeft
|
||||
|
|
|
@ -261,7 +261,7 @@ static NSMutableArray *activeConstraints = nil;
|
|||
attribute: (NSLayoutAttribute)secondAttribute
|
||||
multiplier: (CGFloat)multiplier
|
||||
constant: (CGFloat)constant
|
||||
priority: (CGFloat)priority;
|
||||
priority: (CGFloat)priority
|
||||
{
|
||||
self = [super init];
|
||||
if (self != nil)
|
||||
|
|
|
@ -1337,11 +1337,11 @@ has the same y origin and height as the line frag rect it is in.
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (void) setAllowsNonContiguousLayout: (BOOL)flag;
|
||||
- (void) setAllowsNonContiguousLayout: (BOOL)flag
|
||||
{
|
||||
}
|
||||
|
||||
- (BOOL) hasNonContiguousLayout;
|
||||
- (BOOL) hasNonContiguousLayout
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
|
|
@ -61,32 +61,32 @@
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (void) gotoPosterFrame: (id)sender;
|
||||
- (void) gotoPosterFrame: (id)sender
|
||||
{
|
||||
//FIXME
|
||||
}
|
||||
|
||||
- (void) gotoBeginning: (id)sender;
|
||||
- (void) gotoBeginning: (id)sender
|
||||
{
|
||||
//FIXME
|
||||
}
|
||||
|
||||
- (void) gotoEnd: (id)sender;
|
||||
- (void) gotoEnd: (id)sender
|
||||
{
|
||||
//FIXME
|
||||
}
|
||||
|
||||
- (void) stepForward: (id)sender;
|
||||
- (void) stepForward: (id)sender
|
||||
{
|
||||
//FIXME
|
||||
}
|
||||
|
||||
- (void) stepBack: (id)sender;
|
||||
- (void) stepBack: (id)sender
|
||||
{
|
||||
//FIXME
|
||||
}
|
||||
|
||||
- (void) setRate: (float)rate;
|
||||
- (void) setRate: (float)rate
|
||||
{
|
||||
_rate = rate;
|
||||
}
|
||||
|
@ -168,17 +168,17 @@
|
|||
return [self bounds];
|
||||
}
|
||||
|
||||
- (void) resizeWithMagnification: (float)magnification;
|
||||
- (void) resizeWithMagnification: (float)magnification
|
||||
{
|
||||
//FIXME
|
||||
}
|
||||
- (NSSize) sizeForMagnification: (float)magnification;
|
||||
- (NSSize) sizeForMagnification: (float)magnification
|
||||
{
|
||||
//FIXME
|
||||
return NSMakeSize(0, 0);
|
||||
}
|
||||
|
||||
- (void) setEditable: (BOOL)editable;
|
||||
- (void) setEditable: (BOOL)editable
|
||||
{
|
||||
_flags.editable = editable;
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
_orientation = orientation;
|
||||
}
|
||||
|
||||
- (NSSize) paperSize;
|
||||
- (NSSize) paperSize
|
||||
{
|
||||
return _paperSize;
|
||||
}
|
||||
|
|
|
@ -139,7 +139,7 @@ static Class pathCellClass;
|
|||
[self setNeedsDisplay];
|
||||
}
|
||||
|
||||
- (SEL) doubleAction;
|
||||
- (SEL) doubleAction
|
||||
{
|
||||
return [_cell doubleAction];
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ static Class pathCellClass;
|
|||
}
|
||||
}
|
||||
|
||||
- (NSArray *) allowedTypes;
|
||||
- (NSArray *) allowedTypes
|
||||
{
|
||||
return [_cell allowedTypes];
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
rightExpressionAttributeType: (NSAttributeType)attrType
|
||||
modifier: (NSComparisonPredicateModifier)modif
|
||||
operators: (NSArray *)ops
|
||||
options: (NSUInteger)opts;
|
||||
options: (NSUInteger)opts
|
||||
{
|
||||
return self;
|
||||
}
|
||||
|
@ -64,7 +64,7 @@
|
|||
rightExpressions: (NSArray *)rightExprs
|
||||
modifier: (NSComparisonPredicateModifier)modif
|
||||
operators: (NSArray *)ops
|
||||
options: (NSUInteger)opts;
|
||||
options: (NSUInteger)opts
|
||||
{
|
||||
return self;
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (id) copyWithZone: (NSZone*)zone;
|
||||
- (id) copyWithZone: (NSZone*)zone
|
||||
{
|
||||
NSSearchFieldCell *c = [super copyWithZone: zone];
|
||||
|
||||
|
@ -345,7 +345,7 @@
|
|||
return text;
|
||||
}
|
||||
|
||||
- (NSRect) searchButtonRectForBounds: (NSRect)rect;
|
||||
- (NSRect) searchButtonRectForBounds: (NSRect)rect
|
||||
{
|
||||
NSRect search, part;
|
||||
|
||||
|
|
|
@ -298,7 +298,7 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) copyWithZone: (NSZone *)zone;
|
||||
- (id) copyWithZone: (NSZone *)zone
|
||||
{
|
||||
NSSegmentedCell *c = (NSSegmentedCell *)[super copyWithZone: zone];
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (void) dealloc;
|
||||
- (void) dealloc
|
||||
{
|
||||
RELEASE(_markerFormat);
|
||||
[super dealloc];
|
||||
|
|
Loading…
Reference in a new issue