summaryrefslogtreecommitdiffstats
path: root/unix/tclXtNotify.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-04 16:19:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-04 16:19:21 (GMT)
commit6f5d6107545bbd42e380fe0e297d9e13fa8816d3 (patch)
tree3cc97642fb9f8da652953f04556109d68195534e /unix/tclXtNotify.c
parent67bfd66650822acaa58c1afef5576e8b4760592a (diff)
parentb2f5cb2b5926675920e0bf8d12c39ee6e91ac1e0 (diff)
downloadtcl-6f5d6107545bbd42e380fe0e297d9e13fa8816d3.zip
tcl-6f5d6107545bbd42e380fe0e297d9e13fa8816d3.tar.gz
tcl-6f5d6107545bbd42e380fe0e297d9e13fa8816d3.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclXtNotify.c')
-rw-r--r--unix/tclXtNotify.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/unix/tclXtNotify.c b/unix/tclXtNotify.c
index 61dc731..79dd154 100644
--- a/unix/tclXtNotify.c
+++ b/unix/tclXtNotify.c
@@ -193,14 +193,11 @@ InitNotifier(void)
return;
}
+ memset(&np, 0, sizeof(np));
np.createFileHandlerProc = CreateFileHandler;
np.deleteFileHandlerProc = DeleteFileHandler;
np.setTimerProc = SetTimer;
np.waitForEventProc = WaitForEvent;
- np.initNotifierProc = Tcl_InitNotifier;
- np.finalizeNotifierProc = Tcl_FinalizeNotifier;
- np.alertNotifierProc = Tcl_AlertNotifier;
- np.serviceModeHookProc = Tcl_ServiceModeHook;
Tcl_SetNotifier(&np);
/*
@@ -209,7 +206,6 @@ InitNotifier(void)
*/
initialized = 1;
- memset(&np, 0, sizeof(np));
Tcl_CreateExitHandler(NotifierExitHandler, NULL);
}