summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-01-31 10:34:52 +0000
committerritsuka <[email protected]>2013-01-31 10:34:52 +0000
commitbbc2c49dbabc8478395bdb1bedf665261ea3adda (patch)
tree1b484ce9c445d2ace3dce86d7e65469232654187 /macosx
parent2fe7c262adc159bf85bcab90cdfcbafd1c4c6900 (diff)
MacGUI: Fix build on 10.6sdk.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5228 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBPreviewController.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m
index 664397469..a6b386bd8 100644
--- a/macosx/HBPreviewController.m
+++ b/macosx/HBPreviewController.m
@@ -14,7 +14,13 @@
}
@end
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
+@interface NSWindow(HBExtensions)
+@property (readonly) CGFloat backingScaleFactor;
+
+@end
+#endif
@interface PreviewController (Private)