Revision: 14022
          http://sourceforge.net/p/skim-app/code/14022
Author:   hofman
Date:     2024-01-28 23:55:09 +0000 (Sun, 28 Jan 2024)
Log Message:
-----------
Make presentationNotesDocument weak, it can be the document itself.

Modified Paths:
--------------
    trunk/SKMainWindowController.h

Modified: trunk/SKMainWindowController.h
===================================================================
--- trunk/SKMainWindowController.h      2024-01-28 23:02:42 UTC (rev 14021)
+++ trunk/SKMainWindowController.h      2024-01-28 23:55:09 UTC (rev 14022)
@@ -131,7 +131,7 @@
     
     SKProgressController                *progressController;
     
-    NSDocument                          *presentationNotesDocument;
+    __weak NSDocument                   *presentationNotesDocument;
     NSInteger                           presentationNotesOffset;
     SKSnapshotWindowController          *presentationPreview;
     NSButton                            *presentationNotesButton;
@@ -256,7 +256,7 @@
 
 @property (nonatomic, nullable, copy) NSDictionary<NSString *, id> 
*presentationOptions;
 
-@property (nonatomic, nullable, strong) NSDocument *presentationNotesDocument;
+@property (nonatomic, nullable, weak) NSDocument *presentationNotesDocument;
 @property (nonatomic) NSInteger presentationNotesOffset;
 
 @property (nonatomic, nullable, readonly) NSUndoManager 
*presentationUndoManager;

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