Revision: 4513
http://skim-app.svn.sourceforge.net/skim-app/?rev=4513&view=rev
Author: hofman
Date: 2008-09-01 18:58:03 +0000 (Mon, 01 Sep 2008)
Log Message:
-----------
Return copy from accessor to avoid returning an object that may be modified.
Modified Paths:
--------------
trunk/SKInfoWindowController.m
Modified: trunk/SKInfoWindowController.m
===================================================================
--- trunk/SKInfoWindowController.m 2008-09-01 18:55:28 UTC (rev 4512)
+++ trunk/SKInfoWindowController.m 2008-09-01 18:58:03 UTC (rev 4513)
@@ -233,7 +233,7 @@
}
- (NSDictionary *)info {
- return info;
+ return [[info copy] autorelease];
}
- (void)setInfo:(NSDictionary *)newInfo {
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