diff options
author | culler <culler> | 2019-10-23 21:52:37 (GMT) |
---|---|---|
committer | culler <culler> | 2019-10-23 21:52:37 (GMT) |
commit | 08fe0c62213c3897a4afcf8ee9c2de44d61f1442 (patch) | |
tree | 4ec1919de95da102c3f5992b2723b6c6c4d75f92 /macosx/tkMacOSXInit.c | |
parent | e52422e60cb9265936b53ae27a0ee159416221db (diff) | |
download | tk-08fe0c62213c3897a4afcf8ee9c2de44d61f1442.zip tk-08fe0c62213c3897a4afcf8ee9c2de44d61f1442.tar.gz tk-08fe0c62213c3897a4afcf8ee9c2de44d61f1442.tar.bz2 |
Rework and simplify services so the TkService object won't interfere with IME. It didn't need to be a subclass of NSView, or be in the Responder chain.
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r-- | macosx/tkMacOSXInit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index 2ba4d28..e3ea481 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -406,8 +406,7 @@ TkpInit( /* * Initialize the NSServices object here. Apple's docs say to do this * in applicationDidFinishLaunching, but the Tcl interpreter is not - * initialized until this function call. Only the main interpreter - * is allowed to provide services. + * initialized until this function call. */ TkMacOSXServices_Init(interp); @@ -427,9 +426,6 @@ TkpInit( Tcl_CreateObjCommand(interp, "::tk::mac::iconBitmap", TkMacOSXIconBitmapObjCmd, NULL, NULL); Tcl_CreateObjCommand(interp, "::tk::mac::GetAppPath", TkMacOSXGetAppPath, NULL, NULL); - Tcl_CreateObjCommand(interp, "::tk::mac::registerServiceWidget", - TkMacOSXRegisterServiceWidgetObjCmd, NULL, NULL); - return TCL_OK; } |