Ignore:
Timestamp:
Jun 7, 2006, 10:02:28 PM (16 years ago)
Author:
livings124
Message:

No need to create an autoreleased object and then retain it when it can be done in one step.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/SmoothAquaView.m

    r277 r286  
    3131        if ((self = [super initWithFrame:frameRect]))
    3232    {
    33                 fBackgroundColor = [NSColor colorWithPatternImage:
    34                             [NSImage imageNamed: @"StatusBorder"]];
    35         [fBackgroundColor retain];
     33                fBackgroundColor = [[NSColor colorWithPatternImage:
     34                            [NSImage imageNamed: @"StatusBorder"]] retain];
    3635        }
    3736        return self;
Note: See TracChangeset for help on using the changeset viewer.