summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 22:43:57 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 22:43:57 (GMT)
commitbc2fbc74edf3f6c451b823329a66413d9fcf1c55 (patch)
treeab388d03f8347f6b473b5d30c17d45fe882947fe /Mac
parentaf7dc8d8b86de39a16c6cf7bdba263ea1cedf26b (diff)
downloadcpython-bc2fbc74edf3f6c451b823329a66413d9fcf1c55.zip
cpython-bc2fbc74edf3f6c451b823329a66413d9fcf1c55.tar.gz
cpython-bc2fbc74edf3f6c451b823329a66413d9fcf1c55.tar.bz2
Getting rid of one more TARGET_API_MAC_OSX.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/Nav.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c
index 54f852f..96c7c20 100644
--- a/Mac/Modules/Nav.c
+++ b/Mac/Modules/Nav.c
@@ -56,13 +56,6 @@ my_eventProc(NavEventCallbackMessage callBackSelector,
return;
}
if ( pyfunc == Py_None ) {
-#if !TARGET_API_MAC_OSX
- /* Special case: give update events to the Python event handling code */
- if ( callBackSelector == kNavCBEvent &&
- callBackParms->eventData.eventDataParms.event->what == updateEvt)
- PyMac_HandleEvent(callBackParms->eventData.eventDataParms.event);
- /* Ignore others */
-#endif
return;
}
rv = PyObject_CallFunction(pyfunc, "ls#", (long)callBackSelector,