Revision: 6467
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6467&view=rev
Author:   hofman
Date:     2010-04-18 09:59:32 +0000 (Sun, 18 Apr 2010)

Log Message:
-----------
create contentview after setting ivars

Modified Paths:
--------------
    trunk/SKGradientView.m

Modified: trunk/SKGradientView.m
===================================================================
--- trunk/SKGradientView.m      2010-04-18 09:53:51 UTC (rev 6466)
+++ trunk/SKGradientView.m      2010-04-18 09:59:32 UTC (rev 6467)
@@ -49,11 +49,11 @@
 - (id)initWithFrame:(NSRect)frame {
     self = [super initWithFrame:frame];
     if (self) {
-        contentView = [[NSView alloc] initWithFrame:[self contentRect]];
-               [super addSubview:contentView];
         minSize = NSZeroSize;
         edges = SKNoEdgeMask; // we start with no edge, so we can use this in 
IB without getting weird offsets
         autoEdges = NO;
+        contentView = [[NSView alloc] initWithFrame:[self contentRect]];
+               [super addSubview:contentView];
     }
     return self;
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to