diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-06 16:28:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-06 16:28:14 (GMT) |
commit | e73483a45a8b507ba173e539e3df598a987fd5bd (patch) | |
tree | 29d142ac13d399a99c79e59b43cbd5cb50c0ca04 /macosx/tkMacOSXTest.c | |
parent | 8dd2aa23340c75aacf73d27ab751cdbf110dc055 (diff) | |
parent | c24b589a6b793f5112cd11f613af9aa7ae10b55f (diff) | |
download | tk-e73483a45a8b507ba173e539e3df598a987fd5bd.zip tk-e73483a45a8b507ba173e539e3df598a987fd5bd.tar.gz tk-e73483a45a8b507ba173e539e3df598a987fd5bd.tar.bz2 |
Merge 8.6
Diffstat (limited to 'macosx/tkMacOSXTest.c')
-rw-r--r-- | macosx/tkMacOSXTest.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/macosx/tkMacOSXTest.c b/macosx/tkMacOSXTest.c index 6653fbd..434504f 100644 --- a/macosx/tkMacOSXTest.c +++ b/macosx/tkMacOSXTest.c @@ -26,9 +26,9 @@ static int DebuggerObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); #endif static int PressButtonObjCmd (ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); + int objc, Tcl_Obj *const *objv); static int InjectKeyEventObjCmd (ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); + int objc, Tcl_Obj *const *objv); static int MenuBarHeightObjCmd (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv); @@ -190,7 +190,7 @@ TkTestLogDisplay( static int PressButtonObjCmd( - ClientData dummy, + TCL_UNUSED(void *), Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) @@ -202,7 +202,6 @@ PressButtonObjCmd( NSArray *screens = [NSScreen screens]; CGFloat ScreenHeight = 0; enum {X=1, Y}; - (void)dummy; if (screens && [screens count]) { ScreenHeight = [[screens objectAtIndex:0] frame].size.height; @@ -267,7 +266,7 @@ PressButtonObjCmd( static int InjectKeyEventObjCmd( - ClientData dummy, + TCL_UNUSED(void *), Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) @@ -284,7 +283,6 @@ InjectKeyEventObjCmd( NSEvent *keyEvent; NSUInteger type; MacKeycode macKC; - (void)dummy; if (objc < 3) { wrongArgs: |