summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsViewController.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-30 07:17:22 +0000
committerritsuka <[email protected]>2015-05-30 07:17:22 +0000
commit2837048a59ac5beab0b3428ca89c86857765de0a (patch)
tree15417d195f7223d85fac22560479717dfda31101 /macosx/HBPresetsViewController.h
parent93fb333304b2493a50623b04caac95b53eca3240 (diff)
MacGui: add nullability annotations to the headers and use weak where is possible.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPresetsViewController.h')
-rw-r--r--macosx/HBPresetsViewController.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPresetsViewController.h b/macosx/HBPresetsViewController.h
index 7dffd5f73..baa130117 100644
--- a/macosx/HBPresetsViewController.h
+++ b/macosx/HBPresetsViewController.h
@@ -20,7 +20,7 @@
- (instancetype)initWithPresetManager:(HBPresetsManager *)presetManager;
-@property (nonatomic, readwrite, unsafe_unretained) id<HBPresetsViewControllerDelegate> delegate;
+@property (nonatomic, readwrite, weak) id<HBPresetsViewControllerDelegate> delegate;
- (IBAction)exportPreset:(id)sender;
- (IBAction)importPreset:(id)sender;
@@ -30,7 +30,7 @@
- (IBAction)insertFolder:(id)sender;
-@property (unsafe_unretained, nonatomic, readonly) HBPreset *selectedPreset;
+@property (nonatomic, readonly, weak) HBPreset *selectedPreset;
@property (nonatomic, readonly) NSUInteger indexOfSelectedItem;
@property (nonatomic, readwrite, getter=isEnabled) BOOL enabled;