mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Removed temporary code that always set creator to SimpleText.
This commit is contained in:
parent
a1795032ca
commit
d843a018e9
1 changed files with 7 additions and 2 deletions
|
@ -48,8 +48,11 @@ void GUSISetupFactories()
|
||||||
#ifdef GUSISetupFactories_BeginHook
|
#ifdef GUSISetupFactories_BeginHook
|
||||||
GUSISetupFactories_BeginHook
|
GUSISetupFactories_BeginHook
|
||||||
#endif
|
#endif
|
||||||
// GUSIwithInetSockets();
|
#if TARGET_API_MAC_CARBON
|
||||||
|
GUSIwithInetSockets();
|
||||||
|
#else
|
||||||
GUSIwithMTInetSockets();
|
GUSIwithMTInetSockets();
|
||||||
|
#endif
|
||||||
#ifdef GUSISetupFactories_EndHook
|
#ifdef GUSISetupFactories_EndHook
|
||||||
GUSISetupFactories_EndHook
|
GUSISetupFactories_EndHook
|
||||||
#endif
|
#endif
|
||||||
|
@ -119,9 +122,11 @@ extern "C" void GUSISetupConfig()
|
||||||
if ( prefrh != -1) CloseResFile(prefrh);
|
if ( prefrh != -1) CloseResFile(prefrh);
|
||||||
UseResFile(oldrh);
|
UseResFile(oldrh);
|
||||||
|
|
||||||
config->ConfigureDefaultTypeCreator('TEXT', 'ttxt');
|
config->ConfigureDefaultTypeCreator('TEXT', 'R*ch');
|
||||||
|
#if 0
|
||||||
config->ConfigureSuffices(
|
config->ConfigureSuffices(
|
||||||
sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
|
sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
|
||||||
|
#endif
|
||||||
config->ConfigureAutoInitGraf(false);
|
config->ConfigureAutoInitGraf(false);
|
||||||
config->ConfigureAutoSpin(false);
|
config->ConfigureAutoSpin(false);
|
||||||
config->ConfigureHandleAppleEvents(false);
|
config->ConfigureHandleAppleEvents(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue