summaryrefslogtreecommitdiffstats
path: root/Modules/tkappinit.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-02 20:38:38 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-02 20:38:38 (GMT)
commitf259a8e5c339f73fff8c1f2383079e967120efbd (patch)
tree946ad41e75dbc4081efa08ef7df7bf48d9ac2d4f /Modules/tkappinit.c
parentb447d118ff4a7da5ae09d93d8b6480cfbc9e7a73 (diff)
downloadcpython-f259a8e5c339f73fff8c1f2383079e967120efbd.zip
cpython-f259a8e5c339f73fff8c1f2383079e967120efbd.tar.gz
cpython-f259a8e5c339f73fff8c1f2383079e967120efbd.tar.bz2
Yes, Virginia, Tix does have a Tix_SafeInit() function.
Diffstat (limited to 'Modules/tkappinit.c')
-rw-r--r--Modules/tkappinit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/tkappinit.c b/Modules/tkappinit.c
index 56556c7..392269b 100644
--- a/Modules/tkappinit.c
+++ b/Modules/tkappinit.c
@@ -58,11 +58,11 @@ Tcl_AppInit(interp)
#endif
#ifdef WITH_TIX
- {
- extern int Tix_Init(Tcl_Interp *);
- /* XXX Is there no Tix_SafeInit? */
- Tcl_StaticPackage(NULL, "Tix", Tix_Init, NULL);
- }
+ {
+ extern int Tix_Init(Tcl_Interp *interp);
+ extern int Tix_SafeInit(Tcl_Interp *interp);
+ Tcl_StaticPackage(NULL, "Tix", Tix_Init, Tix_SafeInit);
+ }
#endif
#ifdef WITH_BLT