Author: mlytwyn
Date: Mon May  9 18:05:19 2016
New Revision: 39734

URL: http://svn.gna.org/viewcvs/gnustep?rev=39734&view=rev
Log:
Fix 'copy' to 'retain' for readwrite properties as needed

Modified:
    
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSUserNotification.h
    libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m

Modified: 
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSUserNotification.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSUserNotification.h?rev=39734&r1=39733&r2=39734&view=diff
==============================================================================
--- 
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSUserNotification.h
 (original)
+++ 
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSUserNotification.h
 Mon May  9 18:05:19 2016
@@ -104,7 +104,7 @@
 #if OS_API_VERSION(MAC_OS_X_VERSION_10_9,GS_API_LATEST)
 
 @property (copy) NSString *identifier;
-@property (copy) NSImage *contentImage;
+@property (retain) NSImage *contentImage;
 @property BOOL hasReplyButton;
 @property (copy) NSString *responsePlaceholder;
 @property (readonly) NSAttributedString *response;

Modified: 
libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m?rev=39734&r1=39733&r2=39734&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m     
(original)
+++ libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m     
Mon May  9 18:05:19 2016
@@ -41,11 +41,11 @@
 NSString * const NSUserNotificationDefaultSoundName = 
@"NSUserNotificationDefaultSoundName";
 
 @interface NSUserNotification ()
-@property (readwrite) NSDate *actualDeliveryDate;
+@property (readwrite, copy) NSDate *actualDeliveryDate;
 @property (readwrite, getter=isPresented) BOOL presented;
 @property (readwrite, getter=isRemote) BOOL remote;
 @property (readwrite) NSUserNotificationActivationType activationType;
-@property (readwrite) NSAttributedString *response;
+@property (readwrite, copy) NSAttributedString *response;
 @end
 
 @implementation NSUserNotification


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to