Revision: 7288
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7288&view=rev
Author:   hofman
Date:     2011-06-18 17:35:37 +0000 (Sat, 18 Jun 2011)

Log Message:
-----------
encode gradients unconditionally

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

Modified: trunk/SKGradientView.m
===================================================================
--- trunk/SKGradientView.m      2011-06-18 17:33:38 UTC (rev 7287)
+++ trunk/SKGradientView.m      2011-06-18 17:35:37 UTC (rev 7288)
@@ -84,8 +84,8 @@
     [super encodeWithCoder:coder];
     // this encodes only a reference, the actual contentView should already be 
encoded because it's a subview
     [coder encodeConditionalObject:contentView forKey:@"contentView"];
-    [coder encodeConditionalObject:gradient forKey:@"gradient"];
-    [coder encodeConditionalObject:alternateGradient 
forKey:@"alternateGradient"];
+    [coder encodeObject:gradient forKey:@"gradient"];
+    [coder encodeObject:alternateGradient forKey:@"alternateGradient"];
     [coder encodeDouble:minSize.width forKey:@"minSize.width"];
     [coder encodeDouble:minSize.height forKey:@"minSize.height"];
     [coder encodeDouble:minSize.width forKey:@"maxSize.width"];


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

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to