Revision: 7554
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7554&view=rev
Author:   hofman
Date:     2011-12-04 12:45:23 +0000 (Sun, 04 Dec 2011)
Log Message:
-----------
copy embedded image cell

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

Modified: trunk/SKTextWithIconCell.m
===================================================================
--- trunk/SKTextWithIconCell.m  2011-12-04 11:24:24 UTC (rev 7553)
+++ trunk/SKTextWithIconCell.m  2011-12-04 12:45:23 UTC (rev 7554)
@@ -50,7 +50,6 @@
 
 @implementation SKTextWithIconCell
 
-
 - (id)initTextCell:(NSString *)aString {
     self = [super initTextCell:aString];
     if (self) {
@@ -77,6 +76,12 @@
     [encoder encodeObject:imageCell forKey:@"imageCell"];
 }
 
+- (id)copyWithZone:(NSZone *)zone {
+    SKTextWithIconCell *copy = [super copyWithZone:zone];
+    copy->imageCell = [imageCell copyWithZone:zone];
+    return copy;
+}
+
 - (void)dealloc {
     SKDESTROY(imageCell);
     [super dealloc];

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to