summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-08-06 09:46:22 +0000
committerritsuka <[email protected]>2015-08-06 09:46:22 +0000
commitdbcbcdf1cbe9e0db0177c1d34cca91b6bd41f5a5 (patch)
tree5ab295addda5ba10bf8c71c7047eb59305aa9f1e
parent4746180a07d37cf7ad74dc173d6859779bc935d9 (diff)
MacGui: fix a crash on startup on 10.7, and some warnings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7391 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBDVDDetector.h2
-rw-r--r--macosx/HBDockTile.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/macosx/HBDVDDetector.h b/macosx/HBDVDDetector.h
index 3e7692a7b..978f944da 100644
--- a/macosx/HBDVDDetector.h
+++ b/macosx/HBDVDDetector.h
@@ -13,6 +13,8 @@ NS_ASSUME_NONNULL_BEGIN
@interface HBDVDDetector : NSObject
+- (instancetype)init NS_UNAVAILABLE;
+
+ (HBDVDDetector *)detectorForPath: (NSString *)aPath;
- (HBDVDDetector *)initWithPath: (NSString *)aPath NS_DESIGNATED_INITIALIZER;
diff --git a/macosx/HBDockTile.h b/macosx/HBDockTile.h
index 4e20c9fdf..15117ab21 100644
--- a/macosx/HBDockTile.h
+++ b/macosx/HBDockTile.h
@@ -10,6 +10,7 @@
@interface HBDockTile : NSObject
+- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithDockTile:(NSDockTile *)dockTile image:(NSImage *)image NS_DESIGNATED_INITIALIZER;
/**