summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macglue.c')
-rw-r--r--Mac/Python/macglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index d05009e..cc55d08 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -173,7 +173,7 @@ PyMac_FixGUSIcd()
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 @@ PyMac_InitMenuBar()
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...");
}