Revision: 13889
          http://sourceforge.net/p/skim-app/code/13889
Author:   hofman
Date:     2023-12-11 17:30:55 +0000 (Mon, 11 Dec 2023)
Log Message:
-----------
don't use NSAllocateObject

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

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2023-12-11 17:28:53 UTC (rev 13888)
+++ trunk/SKBookmark.m  2023-12-11 17:30:55 UTC (rev 13889)
@@ -100,7 +100,7 @@
 + (void)initialize {
     SKINITIALIZE;
     SKBookmarkClass = self;
-    defaultPlaceholderBookmark = (SKPlaceholderBookmark 
*)NSAllocateObject([SKPlaceholderBookmark class], 0, NSDefaultMallocZone());
+    defaultPlaceholderBookmark = [SKPlaceholderBookmark alloc];
 }
 
 + (instancetype)allocWithZone:(NSZone *)aZone {

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