mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-14 06:31:31 +00:00
Access Preferences through its protocol, since the launcher is in the Framework.
This commit is contained in:
parent
654aca86ef
commit
334bfd1f37
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2020-09-08 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Framework/PCProjectLauncher.m
|
||||
Access Preferences through its protocol, since the launcher is in the
|
||||
Framework.
|
||||
|
||||
2020-04-16 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Editors/ProjectCenter/PCEditorView.m:(drawRect:)
|
||||
|
|
|
@ -33,11 +33,12 @@
|
|||
#import <ProjectCenter/PCBundleManager.h>
|
||||
#import <ProjectCenter/PCButton.h>
|
||||
#import <ProjectCenter/PCLogController.h>
|
||||
#import <Protocols/Preferences.h>
|
||||
|
||||
|
||||
#import "Modules/Preferences/Misc/PCMiscPrefs.h"
|
||||
#import "Modules/Preferences/EditorFSC/PCEditorFSCPrefs.h"
|
||||
|
||||
#import "PCPrefController.h"
|
||||
|
||||
#ifndef NOTIFICATION_CENTER
|
||||
#define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter]
|
||||
|
@ -148,7 +149,7 @@ enum {
|
|||
|
||||
if ((self = [super init]))
|
||||
{
|
||||
PCPrefController *prefs = [PCPrefController sharedPCPreferences];
|
||||
id <PCPreferences> prefs = [[project projectManager] prefController];
|
||||
NSFont *font;
|
||||
NSString *fontName;
|
||||
CGFloat fontSize;
|
||||
|
|
Loading…
Reference in a new issue