Revision: 13319
          http://sourceforge.net/p/skim-app/code/13319
Author:   hofman
Date:     2023-02-27 15:48:52 +0000 (Mon, 27 Feb 2023)
Log Message:
-----------
make texts ivar available only on macOS

Modified Paths:
--------------
    trunk/SkimNotes/SKNPDFAnnotationNote.h
    trunk/SkimNotes/SKNPDFAnnotationNote.m

Modified: trunk/SkimNotes/SKNPDFAnnotationNote.h
===================================================================
--- trunk/SkimNotes/SKNPDFAnnotationNote.h      2023-02-27 15:41:56 UTC (rev 
13318)
+++ trunk/SkimNotes/SKNPDFAnnotationNote.h      2023-02-27 15:48:52 UTC (rev 
13319)
@@ -80,11 +80,11 @@
 {
     NSString *string;
     PDFKitPlatformImage *image;
+    NSAttributedString *text;
 #if !defined(PDFKIT_PLATFORM_IOS)
     NSTextStorage *textStorage;
+    NSArray *texts;
 #endif
-    NSAttributedString *text;
-    NSArray *texts;
 }
 
 /*!

Modified: trunk/SkimNotes/SKNPDFAnnotationNote.m
===================================================================
--- trunk/SkimNotes/SKNPDFAnnotationNote.m      2023-02-27 15:41:56 UTC (rev 
13318)
+++ trunk/SkimNotes/SKNPDFAnnotationNote.m      2023-02-27 15:48:52 UTC (rev 
13319)
@@ -119,11 +119,11 @@
 #if !defined(PDFKIT_PLATFORM_IOS)
     [[NSNotificationCenter defaultCenter] removeObserver:self];
     [textStorage release];
+    [texts release];
 #endif
     [string release];
     [text release];
     [image release];
-    [texts release];
     [super dealloc];
 }
 

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