diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-17 14:55:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-17 14:55:35 (GMT) |
commit | d83dea17ecb2f74e3048b02992ce5e9c30573b12 (patch) | |
tree | a975c0e201e4ad8e51341d6bb989c90f67aee7d9 /generic/tkMenu.c | |
parent | 3147ddd47a51d3ff290bc0be54646e541624c7fa (diff) | |
parent | 3954d71d18d5d5aa61f21d4137726beb13a0047c (diff) | |
download | tk-d83dea17ecb2f74e3048b02992ce5e9c30573b12.zip tk-d83dea17ecb2f74e3048b02992ce5e9c30573b12.tar.gz tk-d83dea17ecb2f74e3048b02992ce5e9c30573b12.tar.bz2 |
Merge trunk
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r-- | generic/tkMenu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index a9084e4..89dab11 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -843,11 +843,6 @@ MenuWidgetObjCmd( if (GetMenuIndex(interp, menuPtr, objv[2], 0, &index) != TCL_OK) { goto error; } -#if !defined(TK_NO_DEPRECATED) && (TCL_MAJOR_VERSION < 9) - if (index == TCL_INDEX_NONE) { - Tcl_SetObjResult(interp, Tcl_NewStringObj("none", -1)); - } else -#endif Tcl_SetObjResult(interp, TkNewIndexObj(index)); break; } |