diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-07 14:49:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-07 14:49:40 (GMT) |
commit | 2ead17659538d3181771fbbc11b878b2aefa749c (patch) | |
tree | 57401f7210c6e05cfdc7c3b9fa8101309ed119e4 /generic/tkMenu.c | |
parent | 18cbefcbadf4e0022be3cc511050403672662161 (diff) | |
download | tk-2ead17659538d3181771fbbc11b878b2aefa749c.zip tk-2ead17659538d3181771fbbc11b878b2aefa749c.tar.gz tk-2ead17659538d3181771fbbc11b878b2aefa749c.tar.bz2 |
Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to the prefered Tcl_EvalEx).
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r-- | generic/tkMenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 267acd7..8f8a176 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -1061,7 +1061,7 @@ TkInvokeMenu( Tcl_DStringInit(&ds); Tcl_DStringAppend(&ds, "tk::TearOffMenu ", -1); Tcl_DStringAppend(&ds, Tk_PathName(menuPtr->tkwin), -1); - result = Tcl_Eval(interp, Tcl_DStringValue(&ds)); + result = Tcl_EvalEx(interp, Tcl_DStringValue(&ds), -1, 0); Tcl_DStringFree(&ds); } else if ((mePtr->type == CHECK_BUTTON_ENTRY) && (mePtr->namePtr != NULL)) { |