diff options
author | marc_culler <marc.culler@gmail.com> | 2022-09-19 03:53:31 (GMT) |
---|---|---|
committer | marc_culler <marc.culler@gmail.com> | 2022-09-19 03:53:31 (GMT) |
commit | 74e03e32278cc4b3e3d09ca564aed76ae0a177aa (patch) | |
tree | af5ebbaafd7b658a6c4f0086bf4a51b6b85efc76 /macosx/tkMacOSXImage.c | |
parent | ad1635f1155cf8b19a8142e79c3dca98d64daf41 (diff) | |
download | tk-74e03e32278cc4b3e3d09ca564aed76ae0a177aa.zip tk-74e03e32278cc4b3e3d09ca564aed76ae0a177aa.tar.gz tk-74e03e32278cc4b3e3d09ca564aed76ae0a177aa.tar.bz2 |
Document the nsimage image type and make a few minor adjustments.
Diffstat (limited to 'macosx/tkMacOSXImage.c')
-rw-r--r-- | macosx/tkMacOSXImage.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/macosx/tkMacOSXImage.c b/macosx/tkMacOSXImage.c index db56d52..d74ce01 100644 --- a/macosx/tkMacOSXImage.c +++ b/macosx/tkMacOSXImage.c @@ -1316,7 +1316,7 @@ TkNSImageConfigureMaster( /* *---------------------------------------------------------------------- * - * TkNSImageObjCmd -- + * TkMacOSXNSImageObjCmd -- * * This function implements the configure and cget commands for an * nsimage instance. @@ -1330,8 +1330,8 @@ TkNSImageConfigureMaster( *---------------------------------------------------------------------- */ -static int -TkNSImageObjCmd( +int +TkMacOSXNSImageObjCmd( ClientData clientData, /* Information about the image master. */ Tcl_Interp *interp, /* Current interpreter. */ int objc, /* Number of arguments. */ @@ -1452,8 +1452,6 @@ TkNSImageCreate( return TCL_ERROR; } - Tcl_CreateObjCommand(interp, name, TkNSImageObjCmd, masterPtr, NULL); - *clientDataPtr = masterPtr; return TCL_OK; } |