diff options
-rw-r--r-- | tikzit/src/osx/AppDelegate.h | 2 | ||||
-rw-r--r-- | tikzit/src/osx/AppDelegate.m | 2 | ||||
-rw-r--r-- | tikzit/src/osx/StylePaletteController.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tikzit/src/osx/AppDelegate.h b/tikzit/src/osx/AppDelegate.h index 67389e4..92d9add 100644 --- a/tikzit/src/osx/AppDelegate.h +++ b/tikzit/src/osx/AppDelegate.h @@ -28,7 +28,7 @@ #import "PreambleController.h" #import "PreviewController.h" #import "GraphicsView.h" -#import "PreferenceController.h"; +#import "PreferenceController.h" @interface AppDelegate : NSObject { NSMapTable *table; diff --git a/tikzit/src/osx/AppDelegate.m b/tikzit/src/osx/AppDelegate.m index 35484b7..94f5507 100644 --- a/tikzit/src/osx/AppDelegate.m +++ b/tikzit/src/osx/AppDelegate.m @@ -110,7 +110,7 @@ } - (IBAction)togglePreamble:(id)sender { - [self toggleController:preambleController]; + [self toggleController:(NSWindowController *) preambleController]; } - (IBAction)togglePreferences:(id)sender { diff --git a/tikzit/src/osx/StylePaletteController.h b/tikzit/src/osx/StylePaletteController.h index 0242b61..05f0684 100644 --- a/tikzit/src/osx/StylePaletteController.h +++ b/tikzit/src/osx/StylePaletteController.h @@ -45,13 +45,13 @@ @property (strong) NSMutableArray *nodeStyles; @property (strong) NSMutableArray *edgeStyles; -@property BOOL documentActive; +@property (readonly) BOOL documentActive; @property (strong) NodeStyle *activeNodeStyle; @property (strong) EdgeStyle *activeEdgeStyle; @property (copy) NSString *displayedNodeStyleCategory; @property (copy) NSString *displayedEdgeStyleCategory; -@property (weak) NSPredicate *displayedNodeStylePredicate; -@property (weak) NSPredicate *displayedEdgeStylePredicate; +@property (readonly) NSPredicate *displayedNodeStylePredicate; +@property (readonly) NSPredicate *displayedEdgeStylePredicate; //@property NSString *nodeLabel; |