Revision: 3717
http://skim-app.svn.sourceforge.net/skim-app/?rev=3717&view=rev
Author: hofman
Date: 2008-04-12 09:55:22 -0700 (Sat, 12 Apr 2008)
Log Message:
-----------
Remove an empty check.
Modified Paths:
--------------
trunk/SKSnapshotPageCell.m
Modified: trunk/SKSnapshotPageCell.m
===================================================================
--- trunk/SKSnapshotPageCell.m 2008-04-12 16:39:53 UTC (rev 3716)
+++ trunk/SKSnapshotPageCell.m 2008-04-12 16:55:22 UTC (rev 3717)
@@ -53,19 +53,15 @@
{
OBINITIALIZE;
- BOOL didInit = NO;
- if (NO == didInit) {
- didInit = YES;
- selectedShadow = [[NSShadow alloc] init];
- [selectedShadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0
alpha:0.2]];
- [selectedShadow setShadowOffset:NSMakeSize(0.0, -1.0)];
- deselectedShadow = [[NSShadow alloc] init];
- [deselectedShadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0
alpha:0.2]];
- [deselectedShadow setShadowOffset:NSMakeSize(0.0, -1.0)];
-
- selectedColor = [[NSColor colorWithCalibratedWhite:1.0 alpha:1.0]
copy];
- deselectedColor = [[NSColor colorWithCalibratedWhite:0.0 alpha:0.8]
copy];
- }
+ selectedShadow = [[NSShadow alloc] init];
+ [selectedShadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0
alpha:0.2]];
+ [selectedShadow setShadowOffset:NSMakeSize(0.0, -1.0)];
+ deselectedShadow = [[NSShadow alloc] init];
+ [deselectedShadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0
alpha:0.2]];
+ [deselectedShadow setShadowOffset:NSMakeSize(0.0, -1.0)];
+
+ selectedColor = [[NSColor colorWithCalibratedWhite:1.0 alpha:1.0] copy];
+ deselectedColor = [[NSColor colorWithCalibratedWhite:0.0 alpha:0.8] copy];
}
- (id)copyWithZone:(NSZone *)aZone {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit