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 ...@@ -439,12 +439,12 @@ kThemeMetricScrollBarWidth = 0
kThemeMetricSmallScrollBarWidth = 1 kThemeMetricSmallScrollBarWidth = 1
kThemeMetricCheckBoxGlyphHeight = 2 kThemeMetricCheckBoxGlyphHeight = 2
kThemeMetricRadioButtonGlyphHeight = 3 kThemeMetricRadioButtonGlyphHeight = 3
appearanceBadBrushIndexErr = themeInvalidBrushErr # appearanceBadBrushIndexErr = themeInvalidBrushErr
appearanceProcessRegisteredErr = themeProcessRegisteredErr # appearanceProcessRegisteredErr = themeProcessRegisteredErr
appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr # appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr
appearanceBadTextColorIndexErr = themeBadTextColorErr # appearanceBadTextColorIndexErr = themeBadTextColorErr
appearanceThemeHasNoAccents = themeHasNoAccentsErr # appearanceThemeHasNoAccents = themeHasNoAccentsErr
appearanceBadCursorIndexErr = themeBadCursorIndexErr # appearanceBadCursorIndexErr = themeBadCursorIndexErr
kThemeActiveDialogBackgroundBrush = kThemeBrushDialogBackgroundActive kThemeActiveDialogBackgroundBrush = kThemeBrushDialogBackgroundActive
kThemeInactiveDialogBackgroundBrush = kThemeBrushDialogBackgroundInactive kThemeInactiveDialogBackgroundBrush = kThemeBrushDialogBackgroundInactive
kThemeActiveAlertBackgroundBrush = kThemeBrushAlertBackgroundActive kThemeActiveAlertBackgroundBrush = kThemeBrushAlertBackgroundActive
......
...@@ -41,6 +41,13 @@ class MyScanner(Scanner): ...@@ -41,6 +41,13 @@ class MyScanner(Scanner):
def makeblacklistnames(self): def makeblacklistnames(self):
return [ return [
"GetThemeFont", # Funny stringbuffer in/out parameter, I think... "GetThemeFont", # Funny stringbuffer in/out parameter, I think...
# Constants with funny definitions
"appearanceBadBrushIndexErr",
"appearanceProcessRegisteredErr",
"appearanceProcessNotRegisteredErr",
"appearanceBadTextColorIndexErr",
"appearanceThemeHasNoAccents",
"appearanceBadCursorIndexErr",
] ]
def makegreylist(self): 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