Updated no-replacement-for-function date.

This commit is contained in:
Camilla Berglund 2015-01-05 01:43:02 +01:00
parent 5f6aa9c34c
commit e64699bd54

View File

@ -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));