summaryrefslogtreecommitdiff
path: root/Mac/Python/macgetpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macgetpath.c')
-rw-r--r--Mac/Python/macgetpath.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/Mac/Python/macgetpath.c b/Mac/Python/macgetpath.c
index b79e90b001..dfb689e307 100644
--- a/Mac/Python/macgetpath.c
+++ b/Mac/Python/macgetpath.c
@@ -63,10 +63,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include <TextUtils.h>
#include <Dialogs.h>
-#ifdef USE_GUSI1
-#include <GUSI.h>
-#endif
-
#ifndef USE_BUILTIN_PATH
staticforward char *PyMac_GetPythonPath();
#endif
@@ -211,11 +207,6 @@ PyMac_OpenPrefFile()
return -1;
prefrh = FSpOpenResFile(&dirspec, fsRdWrShPerm);
if ( prefrh < 0 ) {
-#if 0
- action = CautionAlert(NOPREFFILE_ID, NULL);
- if ( action == NOPREFFILE_NO )
- exit(1);
-#endif
FSpCreateResFile(&dirspec, 'Pyth', 'pref', 0);
prefrh = FSpOpenResFile(&dirspec, fsRdWrShPerm);
if ( prefrh == -1 ) {
@@ -453,28 +444,3 @@ PyMac_PreferenceOptions(PyMac_PrefRecord *pr)
if ( prefrh != -1) CloseResFile(prefrh);
UseResFile(oldrh);
}
-
-#ifdef USE_GUSI1
-void
-PyMac_SetGUSIOptions()
-{
- Handle h;
- short oldrh, prefrh = -1;
-
- oldrh = CurResFile();
-
- /* Try override from the application resource fork */
- UseResFile(PyMac_AppRefNum);
- h = Get1Resource('GU\267I', GUSIOPTIONSOVERRIDE_ID);
- UseResFile(oldrh);
-
- /* If that didn't work try nonoverride from anywhere */
- if ( h == NULL ) {
- prefrh = PyMac_OpenPrefFile();
- h = GetResource('GU\267I', GUSIOPTIONS_ID);
- }
- if ( h ) GUSILoadConfiguration(h);
- if ( prefrh != -1) CloseResFile(prefrh);
- UseResFile(oldrh);
-}
-#endif /* USE_GUSI1 */