Getting rid of pre-Carbon (MacOS8) support. All code depending on
TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some
TARGET_API_MAC_OSX conditional code is gone, because it is no longer
used on OSX-only Python (only in MacPython-OS9).
diff --git a/Mac/Modules/icn/icnscan.py b/Mac/Modules/icn/icnscan.py
index 6ed3108..138cc62 100644
--- a/Mac/Modules/icn/icnscan.py
+++ b/Mac/Modules/icn/icnscan.py
@@ -46,20 +46,10 @@
"svAllAvailableData",
# Something in a comment accidentally seen as a const definition
"err",
+ # OS8 only
+ 'IconServicesTerminate',
]
- def makegreylist(self):
- return [
- ('#if !TARGET_API_MAC_CARBON', [
- 'IconServicesTerminate',
- ]),
- ('#if TARGET_API_MAC_CARBON', [
- 'WriteIconFile',
- 'ReadIconFile',
- 'RegisterIconRefFromIconFile',
- 'GetIconRefVariant',
- ])]
-
def makeblacklisttypes(self):
return [
"IconActionUPP",