Revision: 3291
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3291&view=rev
Author:   hofman
Date:     2007-11-30 14:09:48 -0800 (Fri, 30 Nov 2007)

Log Message:
-----------
Encode the target as a conditional object, as we shouldn't archive (and 
unarchive) a copy.

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

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2007-11-30 19:43:41 UTC (rev 3290)
+++ trunk/SKColorSwatch.m       2007-11-30 22:09:48 UTC (rev 3291)
@@ -96,11 +96,11 @@
     if ([coder allowsKeyedCoding]) {
         [coder encodeObject:colors forKey:@"colors"];
         [coder encodeObject:NSStringFromSelector(action) forKey:@"action"];
-        [coder encodeObject:target forKey:@"target"];
+        [coder encodeConditionalObject:target forKey:@"target"];
     } else {
         [coder encodeObject:colors];
         [coder encodeValueOfObjCType:@encode(SEL) at:action];
-        [coder encodeObject:target];
+        [coder encodeConditionalObject:target];
     }
 }
 


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

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to