From fc8f1dca4e9d367e190f8331f829bd8b6aaf3134 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Mon, 8 Apr 2019 14:32:06 +0200 Subject: [PATCH] fixed: return type of openUntitledDocumentOfType:display: --- AppKit/CPDocumentController.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPDocumentController.j b/AppKit/CPDocumentController.j index b851b046a..139f34d6b 100644 --- a/AppKit/CPDocumentController.j +++ b/AppKit/CPDocumentController.j @@ -106,7 +106,7 @@ var CPSharedDocumentController = nil; @param aType the type of the new document @param shouldDisplay whether to display the document on screen */ -- (void)openUntitledDocumentOfType:(CPString)aType display:(BOOL)shouldDisplay +- (CPDocument)openUntitledDocumentOfType:(CPString)aType display:(BOOL)shouldDisplay { var theDocument = [self makeUntitledDocumentOfType:aType error:nil];