gh-103538: Remove unused TK_AQUA code (GH-103539)

This commit is contained in:
Christopher Chavez 2023-05-10 13:53:13 -05:00 committed by GitHub
parent a33ce66dca
commit e464ec9f4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 64 deletions

View file

@ -3283,20 +3283,6 @@ PyInit__tkinter(void)
}
PyTclObject_Type = o;
#ifdef TK_AQUA
/* Tk_MacOSXSetupTkNotifier must be called before Tcl's subsystems
* start waking up. Note that Tcl_FindExecutable will do this, this
* code must be above it! The original warning from
* tkMacOSXAppInit.c is copied below.
*
* NB - You have to swap in the Tk Notifier BEFORE you start up the
* Tcl interpreter for now. It probably should work to do this
* in the other order, but for now it doesn't seem to.
*
*/
Tk_MacOSXSetupTkNotifier();
#endif
/* This helps the dynamic loader; in Unicode aware Tcl versions
it also helps Tcl find its encodings. */