summaryrefslogtreecommitdiff
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-12-19 21:33:51 +0000
committerJack Jansen <jack.jansen@cwi.nl>2000-12-19 21:33:51 +0000
commit6512b071aaaa67d1c2b696871c1c4ec190137a5e (patch)
tree472fbdbe7c37eeea7aaab1c4a760bf7bc6eb3efd /Mac
parentccc2c83d347addc43ffb4091d54e5f50bfc2c711 (diff)
downloadcpython-6512b071aaaa67d1c2b696871c1c4ec190137a5e.tar.gz
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 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):