mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Fix a couple of Fred's concerns.
This commit is contained in:
parent
e17c1287b3
commit
9f2869bc82
2 changed files with 7 additions and 14 deletions
6
MISSING
6
MISSING
|
@ -7,7 +7,6 @@ MISSING HEADERS
|
|||
> NSAccessibilityElement.h
|
||||
> NSAccessibilityProtocols.h
|
||||
> NSAlignmentFeedbackFilter.h
|
||||
> NSAppearance.h
|
||||
> NSCollectionViewCompositionalLayout.h
|
||||
> NSCollectionViewFlowLayout.h
|
||||
> NSCollectionViewGridLayout.h
|
||||
|
@ -76,7 +75,7 @@ MISSING HEADERS
|
|||
> NSWindowRestoration.h
|
||||
> NSWindowTab.h
|
||||
> NSWindowTabGroup.h
|
||||
Total: 82
|
||||
Total: 75
|
||||
|
||||
Completed
|
||||
---
|
||||
|
@ -86,7 +85,8 @@ Completed
|
|||
> NSPDFPanel.h
|
||||
> NSPICTImageRep.h
|
||||
> NSDockTile.h
|
||||
Total: 6
|
||||
> NSAppearance.h
|
||||
Total: 7
|
||||
|
||||
Mac Specific
|
||||
---
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Implementation of class NSAppearance
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2020 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: Wed Jan 15 07:03:39 EST 2020
|
||||
|
@ -38,7 +38,7 @@ NSAppearance *__currentAppearance = nil;
|
|||
- (instancetype) initWithAppearanceNamed: (NSString *)name bundle: (NSBundle *)bundle
|
||||
{
|
||||
self = [super init];
|
||||
if(self)
|
||||
if (self)
|
||||
{
|
||||
ASSIGNCOPY(_name, name);
|
||||
_allowsVibrancy = NO;
|
||||
|
@ -48,7 +48,7 @@ NSAppearance *__currentAppearance = nil;
|
|||
|
||||
- (instancetype) initWithCoder: (NSCoder *)coder
|
||||
{
|
||||
if([coder allowsKeyedCoding])
|
||||
if ([coder allowsKeyedCoding])
|
||||
{
|
||||
}
|
||||
else
|
||||
|
@ -61,7 +61,7 @@ NSAppearance *__currentAppearance = nil;
|
|||
|
||||
- (void) encodeWithCoder: (NSCoder *)coder
|
||||
{
|
||||
if([coder allowsKeyedCoding])
|
||||
if ([coder allowsKeyedCoding])
|
||||
{
|
||||
}
|
||||
else
|
||||
|
@ -71,13 +71,6 @@ NSAppearance *__currentAppearance = nil;
|
|||
}
|
||||
}
|
||||
|
||||
- (instancetype) copyWithZone: (NSZone *)zone
|
||||
{
|
||||
NSAppearance *copy = [[NSAppearance allocWithZone: zone] initWithAppearanceNamed: [self name]
|
||||
bundle: nil];
|
||||
return copy;
|
||||
}
|
||||
|
||||
// Getting the appearance name
|
||||
- (NSString *) name
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue