summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-29 15:49:04 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-29 15:49:04 (GMT)
commit8ec9e639abb7089dfa171f612b07591e36647414 (patch)
treee00df58b394900a3a7adb5d85d001afdb42b61cb /Modules/_tkinter.c
parentdfed920e51a781236da21a72ee158bfcc35508ad (diff)
downloadcpython-8ec9e639abb7089dfa171f612b07591e36647414.zip
cpython-8ec9e639abb7089dfa171f612b07591e36647414.tar.gz
cpython-8ec9e639abb7089dfa171f612b07591e36647414.tar.bz2
Adapt Mac specific code to new universal headers (I think -- this is
Jack's code).
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 049b292..4eb1001 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -1610,14 +1610,14 @@ static FSSpec library_fss;
** resources.
*/
OSErr pascal
-init_tkinter_shlib(InitBlockPtr data)
+init_tkinter_shlib(CFragInitBlockPtr data)
{
__initialize();
if ( data == nil ) return noErr;
- if ( data->fragLocator.where == kOnDiskFlat ) {
+ if ( data->fragLocator.where == kDataForkCFragLocator ) {
library_fss = *data->fragLocator.u.onDisk.fileSpec;
loaded_from_shlib = 1;
- } else if ( data->fragLocator.where == kOnDiskSegmented ) {
+ } else if ( data->fragLocator.where == kResourceCFragLocator ) {
library_fss = *data->fragLocator.u.inSegs.fileSpec;
loaded_from_shlib = 1;
}