summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xunix/tkUnixSysNotify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tkUnixSysNotify.c b/unix/tkUnixSysNotify.c
index f4a6d12..52f585b 100755
--- a/unix/tkUnixSysNotify.c
+++ b/unix/tkUnixSysNotify.c
@@ -216,6 +216,7 @@ SysNotify_Init(
}
ln_fns.nopen++;
Tcl_MutexUnlock(&ln_mutex);
+ if (!notify_init) return TCL_OK;
Tcl_CreateObjCommand(interp, "::tk::sysnotify::_sysnotify", SysNotifyCmd,
interp, SysNotifyDeleteCmd);