Commit 620e9142 authored by Jack Jansen's avatar Jack Jansen

Blacklisted a few constants with funny definitions (and they're not important...

Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers).
parent 932af110
......@@ -439,12 +439,12 @@ kThemeMetricScrollBarWidth = 0
kThemeMetricSmallScrollBarWidth = 1
kThemeMetricCheckBoxGlyphHeight = 2
kThemeMetricRadioButtonGlyphHeight = 3
appearanceBadBrushIndexErr = themeInvalidBrushErr
appearanceProcessRegisteredErr = themeProcessRegisteredErr
appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr
appearanceBadTextColorIndexErr = themeBadTextColorErr
appearanceThemeHasNoAccents = themeHasNoAccentsErr
appearanceBadCursorIndexErr = themeBadCursorIndexErr
# appearanceBadBrushIndexErr = themeInvalidBrushErr
# appearanceProcessRegisteredErr = themeProcessRegisteredErr
# appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr
# appearanceBadTextColorIndexErr = themeBadTextColorErr
# appearanceThemeHasNoAccents = themeHasNoAccentsErr
# appearanceBadCursorIndexErr = themeBadCursorIndexErr
kThemeActiveDialogBackgroundBrush = kThemeBrushDialogBackgroundActive
kThemeInactiveDialogBackgroundBrush = kThemeBrushDialogBackgroundInactive
kThemeActiveAlertBackgroundBrush = kThemeBrushAlertBackgroundActive
......
......@@ -41,6 +41,13 @@ class MyScanner(Scanner):
def makeblacklistnames(self):
return [
"GetThemeFont", # Funny stringbuffer in/out parameter, I think...
# Constants with funny definitions
"appearanceBadBrushIndexErr",
"appearanceProcessRegisteredErr",
"appearanceProcessNotRegisteredErr",
"appearanceBadTextColorIndexErr",
"appearanceThemeHasNoAccents",
"appearanceBadCursorIndexErr",
]
def makegreylist(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment