mirror of https://github.com/python/cpython
Yes, Virginia, Tix does have a Tix_SafeInit() function.
This commit is contained in:
parent
b447d118ff
commit
f259a8e5c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue