summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSysNotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tkUnixSysNotify.c')
-rwxr-xr-xunix/tkUnixSysNotify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixSysNotify.c b/unix/tkUnixSysNotify.c
index b9e635a..9a1fd73 100755
--- a/unix/tkUnixSysNotify.c
+++ b/unix/tkUnixSysNotify.c
@@ -47,7 +47,7 @@ TCL_DECLARE_MUTEX(ln_mutex);
*/
static Tcl_CmdDeleteProc SysNotifyDeleteCmd;
-static Tcl_ObjCmdProc SysNotifyCmd;
+static Tcl_ObjCmdProc2 SysNotifyCmd;
/*
*----------------------------------------------------------------------
@@ -102,7 +102,7 @@ static int
SysNotifyCmd(
TCL_UNUSED(void *),
Tcl_Interp *interp,
- int objc,
+ Tcl_Size objc,
Tcl_Obj *const *objv)
{
const char *title;
@@ -218,7 +218,7 @@ SysNotify_Init(
Tcl_MutexUnlock(&ln_mutex);
if (!notify_init) return TCL_OK;
- Tcl_CreateObjCommand(interp, "::tk::sysnotify::_sysnotify", SysNotifyCmd,
+ Tcl_CreateObjCommand2(interp, "::tk::sysnotify::_sysnotify", SysNotifyCmd,
interp, SysNotifyDeleteCmd);
return TCL_OK;
}