mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 17:52:42 +00:00
Merge branch 'master' into document-nswindowcontroller
This commit is contained in:
commit
584adbd401
2 changed files with 13 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
* Source/NSWindowController.m: gsdoc
|
||||
|
||||
2018-03-30 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSDocument.m (-revertToContentsOfURL:ofType:error:): Add
|
||||
override calls for deprecated methods.
|
||||
|
||||
2018-03-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSSliderCell.h,
|
||||
|
|
|
@ -788,6 +788,14 @@ withContentsOfURL: (NSURL *)url
|
|||
ofType: (NSString *)type
|
||||
error: (NSError **)error
|
||||
{
|
||||
if (OVERRIDDEN(revertToSavedFromURL:ofType:))
|
||||
{
|
||||
return [self revertToSavedFromURL: url ofType: type];
|
||||
}
|
||||
if (OVERRIDDEN(revertToSavedFromFile:ofType:) && [url isFileURL])
|
||||
{
|
||||
return [self revertToSavedFromFile:[url path] ofType: type];
|
||||
}
|
||||
return [self readFromURL: url
|
||||
ofType: type
|
||||
error: error];
|
||||
|
|
Loading…
Reference in a new issue