Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc2fbc7

Browse files
committed
Getting rid of one more TARGET_API_MAC_OSX.
1 parent af7dc8d commit bc2fbc7

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

Mac/Modules/Nav.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,6 @@ my_eventProc(NavEventCallbackMessage callBackSelector,
5656
return;
5757
}
5858
if ( pyfunc == Py_None ) {
59-
#if !TARGET_API_MAC_OSX
60-
/* Special case: give update events to the Python event handling code */
61-
if ( callBackSelector == kNavCBEvent &&
62-
callBackParms->eventData.eventDataParms.event->what == updateEvt)
63-
PyMac_HandleEvent(callBackParms->eventData.eventDataParms.event);
64-
/* Ignore others */
65-
#endif
6659
return;
6760
}
6861
rv = PyObject_CallFunction(pyfunc, "ls#", (long)callBackSelector,

0 commit comments

Comments
 (0)