From: Jack Jansen Date: Tue, 19 Dec 2000 21:33:51 +0000 (+0000) Subject: Blacklisted a few constants with funny definitions (and they're not important anyway... X-Git-Tag: v2.1a1~518 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=620e9142668d04e3fd7def86a98c92ef6944044d;p=python Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers). --- diff --git a/Mac/Lib/lib-toolbox/Appearance.py b/Mac/Lib/lib-toolbox/Appearance.py index 361b6b20ba..ac64b44687 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 9cfc59867e..72c2db2c32 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):