Updated no-replacement-for-function date.

master
Camilla Berglund ago%!(EXTRA string=11 years)
parent 5f6aa9c34c
commit e64699bd54
  1. 2
      src/cocoa_monitor.m

@ -48,7 +48,7 @@ static char* getDisplayName(CGDirectDisplayID displayID)
CFIndex size;
// 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),
kIODisplayOnlyPreferredName);
names = CFDictionaryGetValue(info, CFSTR(kDisplayProductName));

Loading…
Cancel
Save