mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Fix issue where some placeholder objects don't respond to NSCoding
This commit is contained in:
parent
e9be2214d2
commit
57fa7663be
1 changed files with 17 additions and 0 deletions
|
@ -56,6 +56,22 @@
|
|||
#import "GormDocumentController.h"
|
||||
#import "GormXLIFFDocument.h"
|
||||
|
||||
@interface NSObject (GormPrivate)
|
||||
@end
|
||||
|
||||
@implementation NSObject (GormPrivate)
|
||||
|
||||
- (instancetype) initWithCoder: (NSCoder *)coder
|
||||
{
|
||||
return [self init];
|
||||
}
|
||||
|
||||
- (void) encodeWithCoder: (NSCoder *)coder
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@interface GormDisplayCell : NSButtonCell
|
||||
@end
|
||||
|
||||
|
@ -84,6 +100,7 @@
|
|||
@end
|
||||
|
||||
@implementation GormFirstResponder
|
||||
|
||||
- (NSImage*) imageForViewer
|
||||
{
|
||||
static NSImage *image = nil;
|
||||
|
|
Loading…
Reference in a new issue