From 620e9142668d04e3fd7def86a98c92ef6944044d Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 19 Dec 2000 21:33:51 +0000 Subject: Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers). --- Mac/Lib/lib-toolbox/Appearance.py | 12 ++++++------ Mac/Modules/app/appscan.py | 7 +++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Mac/Lib/lib-toolbox/Appearance.py b/Mac/Lib/lib-toolbox/Appearance.py index 361b6b2..ac64b44 100644 --- a/Mac/Lib/lib-toolbox/Appearance.py +++ b/Mac/Lib/lib-toolbox/Appearance.py @@ -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 diff --git a/Mac/Modules/app/appscan.py b/Mac/Modules/app/appscan.py index 9cfc598..72c2db2 100644 --- a/Mac/Modules/app/appscan.py +++ b/Mac/Modules/app/appscan.py @@ -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): -- cgit v0.12