Revision: 4907
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4907&view=rev
Author:   hofman
Date:     2008-11-01 13:25:05 +0000 (Sat, 01 Nov 2008)

Log Message:
-----------
return copy of color array

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

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2008-11-01 12:58:06 UTC (rev 4906)
+++ trunk/SKColorSwatch.m       2008-11-01 13:25:05 UTC (rev 4907)
@@ -338,7 +338,7 @@
 #pragma mark Accessors
 
 - (NSArray *)colors {
-    return colors;
+    return [[colors copy] autorelease];
 }
 
 - (void)setColors:(NSArray *)newColors {


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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to