Revision: 14935
http://sourceforge.net/p/skim-app/code/14935
Author: hofman
Date: 2025-03-04 16:47:34 +0000 (Tue, 04 Mar 2025)
Log Message:
-----------
make annotation for note window nonnull
Modified Paths:
--------------
trunk/SKNoteWindowController.h
trunk/SKNoteWindowController.m
Modified: trunk/SKNoteWindowController.h
===================================================================
--- trunk/SKNoteWindowController.h 2025-03-04 16:31:49 UTC (rev 14934)
+++ trunk/SKNoteWindowController.h 2025-03-04 16:47:34 UTC (rev 14935)
@@ -78,7 +78,7 @@
@property (nonatomic, readonly) PDFAnnotation *note;
@property (nonatomic) BOOL keepOnTop, forceOnTop, isNoteType;
-- (instancetype)initWithNote:(nullable PDFAnnotation *)aNote;
+- (instancetype)initWithNote:(PDFAnnotation *)aNote;
- (void)statusBarClicked:(nullable id)sender;
Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m 2025-03-04 16:31:49 UTC (rev 14934)
+++ trunk/SKNoteWindowController.m 2025-03-04 16:47:34 UTC (rev 14935)
@@ -147,10 +147,6 @@
return temporaryDirectoryURL;
}
-- (instancetype)init {
- return [self initWithNote:nil];
-}
-
- (instancetype)initWithNote:(PDFAnnotation *)aNote {
self = [super initWithWindowNibName:@"NoteWindow"];
if (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