summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-19 11:45:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-19 11:45:08 (GMT)
commitdce78bcb0455e180116b61b634496b64c6e5254d (patch)
tree473ac79a684d30769f6e2178a7d7039974497cdf /win/tkWinMenu.c
parent5ae0e88cc49f83ebe127f1aebddadc4e5d7c1990 (diff)
downloadtk-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.c4
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);