summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-12-19 21:33:51 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-12-19 21:33:51 (GMT)
commit620e9142668d04e3fd7def86a98c92ef6944044d (patch)
treec9560cf395b2641e3160e4d9625bbda1688611de /Mac
parent932af110d36932d940eaa01d1a3759f0347a59fd (diff)
downloadcpython-620e9142668d04e3fd7def86a98c92ef6944044d.zip
cpython-620e9142668d04e3fd7def86a98c92ef6944044d.tar.gz
cpython-620e9142668d04e3fd7def86a98c92ef6944044d.tar.bz2
Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers).
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/lib-toolbox/Appearance.py12
-rw-r--r--Mac/Modules/app/appscan.py7
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):