Updated no-replacement-for-function date.
This commit is contained in:
parent
5f6aa9c34c
commit
e64699bd54
@ -48,7 +48,7 @@ static char* getDisplayName(CGDirectDisplayID displayID)
|
|||||||
CFIndex size;
|
CFIndex size;
|
||||||
|
|
||||||
// NOTE: This uses a deprecated function because Apple has
|
// NOTE: This uses a deprecated function because Apple has
|
||||||
// (as of September 2014) not provided any alternative
|
// (as of January 2015) not provided any alternative
|
||||||
info = IODisplayCreateInfoDictionary(CGDisplayIOServicePort(displayID),
|
info = IODisplayCreateInfoDictionary(CGDisplayIOServicePort(displayID),
|
||||||
kIODisplayOnlyPreferredName);
|
kIODisplayOnlyPreferredName);
|
||||||
names = CFDictionaryGetValue(info, CFSTR(kDisplayProductName));
|
names = CFDictionaryGetValue(info, CFSTR(kDisplayProductName));
|
||||||
|
Loading…
Reference in New Issue
Block a user