]> granicus.if.org Git - python/commitdiff
Blacklisted a few constants with funny definitions (and they're not important anyway...
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 19 Dec 2000 21:33:51 +0000 (21:33 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 19 Dec 2000 21:33:51 +0000 (21:33 +0000)
Mac/Lib/lib-toolbox/Appearance.py
Mac/Modules/app/appscan.py

index 361b6b20bad363d87cd1a3ed0e309532ed0a9afa..ac64b446879a8a2ea3ff4addfd6a414c5f2d07e6 100644 (file)
@@ -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
index 9cfc59867eb80360f65b4d2ba5ed076f53017b81..72c2db2c3225678478f037a2831968894cd8b47a 100644 (file)
@@ -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):