diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-19 11:45:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-19 11:45:08 (GMT) |
commit | dce78bcb0455e180116b61b634496b64c6e5254d (patch) | |
tree | 473ac79a684d30769f6e2178a7d7039974497cdf /win/tkWinMenu.c | |
parent | 5ae0e88cc49f83ebe127f1aebddadc4e5d7c1990 (diff) | |
download | tk-dce78bcb0455e180116b61b634496b64c6e5254d.zip tk-dce78bcb0455e180116b61b634496b64c6e5254d.tar.gz tk-dce78bcb0455e180116b61b634496b64c6e5254d.tar.bz2 |
Use Tcl_ObjCmdProc(2?) in stead of full signature, where possible
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r-- | win/tkWinMenu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c index 755033d..c102e14 100644 --- a/win/tkWinMenu.c +++ b/win/tkWinMenu.c @@ -176,9 +176,7 @@ static void GetTearoffEntryGeometry(TkMenu *menuPtr, const Tk_FontMetrics *fmPtr, int *widthPtr, int *heightPtr); static int GetNewID(TkMenuEntry *mePtr, WORD *menuIDPtr); -static int TkWinMenuKeyObjCmd(void *clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); +static Tcl_ObjCmdProc TkWinMenuKeyObjCmd; static void MenuSelectEvent(TkMenu *menuPtr); static void ReconfigureWindowsMenu(void *clientData); static void RecursivelyClearActiveMenu(TkMenu *menuPtr); |