Revision: 13727
          http://sourceforge.net/p/skim-app/code/13727
Author:   hofman
Date:     2023-11-05 10:02:39 +0000 (Sun, 05 Nov 2023)
Log Message:
-----------
use designated initializer to release self

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

Modified: trunk/PDFAnnotation_SKExtensions.m
===================================================================
--- trunk/PDFAnnotation_SKExtensions.m  2023-11-04 10:17:01 UTC (rev 13726)
+++ trunk/PDFAnnotation_SKExtensions.m  2023-11-05 10:02:39 UTC (rev 13727)
@@ -128,10 +128,7 @@
         [propertyList isKindOfClass:[NSData class]]) {
         self = [self initSkimNoteWithProperties:[NSKeyedUnarchiver 
unarchiveObjectWithData:propertyList]];
     } else {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-        [[self initWithBounds:NSZeroRect] release];
-#pragma clang diagnostic pop
+        [[self initWithBounds:NSZeroRect forType:@"" withProperties:nil] 
release];
         self = nil;
     }
     return self;

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to