diff options
Diffstat (limited to 'macosx/DockTextField.m')
-rw-r--r-- | macosx/DockTextField.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/macosx/DockTextField.m b/macosx/DockTextField.m index 661dc45a0..f576f7964 100644 --- a/macosx/DockTextField.m +++ b/macosx/DockTextField.m @@ -43,7 +43,6 @@ NSGradient *gradient = [[NSGradient alloc] initWithStartingColor:self.startColor endingColor:self.endColor]; [gradient drawInBezierPath:[NSBezierPath bezierPathWithRoundedRect:blackOutlineFrame xRadius:radius yRadius:radius] angle:90]; - [gradient release]; NSMutableDictionary *drawStringAttributes = [[NSMutableDictionary alloc] init]; [drawStringAttributes setValue:[NSColor whiteColor] forKey:NSForegroundColorAttributeName]; @@ -56,7 +55,6 @@ [stringShadow setShadowOffset:shadowSize]; [stringShadow setShadowBlurRadius:6]; [drawStringAttributes setValue:stringShadow forKey:NSShadowAttributeName]; - [stringShadow release]; NSString *MRString = _textToDisplay; NSString *budgetString = [NSString stringWithFormat:@"%@", MRString]; @@ -65,7 +63,6 @@ centerPoint.x = (dirtyRect.size.width / 2) - (stringSize.width / 2); centerPoint.y = dirtyRect.size.height / 2 - (stringSize.height / 2) - 2; [budgetString drawAtPoint:centerPoint withAttributes:drawStringAttributes]; - [drawStringAttributes release]; } @end |