Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macglue.c @ 5270:de9d0c5249b0 legacy-trunk
Changed the few old routine names still used to the new ones
Started working on MSL support
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 08 Apr 1997 15:27:00 +0000 |
| parents | 1ae7e2ebc2f3 |
| children | 70855574516b |
line wrap: on
line diff
--- a/Mac/Python/macglue.c Tue Apr 08 15:26:03 1997 +0000 +++ b/Mac/Python/macglue.c Tue Apr 08 15:27:00 1997 +0000 @@ -173,7 +173,7 @@ pb.ioNamePtr= "\p"; pb.ioVRefNum= curdirfss.vRefNum; pb.ioWDDirID= curdirfss.parID; - if (PBHSetVol(&pb, 0) != noErr) + if (PBHSetVolSync(&pb) != noErr) return; } @@ -540,7 +540,7 @@ MenuHandle applemenu; if ( (bar=GetMenuBar()) == NULL ) return; - if ( (applemenu=GetMHandle(SIOUX_APPLEID)) == NULL ) return; + if ( (applemenu=GetMenuHandle(SIOUX_APPLEID)) == NULL ) return; SetMenuItemText(applemenu, 1, "\pAbout Python..."); }
