summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInit.c
diff options
context:
space:
mode:
authorculler <culler>2019-10-23 21:52:37 (GMT)
committerculler <culler>2019-10-23 21:52:37 (GMT)
commit08fe0c62213c3897a4afcf8ee9c2de44d61f1442 (patch)
tree4ec1919de95da102c3f5992b2723b6c6c4d75f92 /macosx/tkMacOSXInit.c
parente52422e60cb9265936b53ae27a0ee159416221db (diff)
downloadtk-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.c6
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;
}