From 82917fedb5ace2d007c4687327bc967aa90abecd Mon Sep 17 00:00:00 2001 From: xdd Date: Fri, 6 Sep 2002 07:31:24 +0000 Subject: [PATCH] =?utf8?q?MPW=E3=81=A7=E3=82=B3=E3=83=B3=E3=83=91=E3=82=A4?= =?utf8?q?=E3=83=AB=E5=87=BA=E6=9D=A5=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F?= =?utf8?q?=E5=95=8F=E9=A1=8C=E3=81=AE=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main-mac-carbon.c | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/src/main-mac-carbon.c b/src/main-mac-carbon.c index 492644af9..97681831a 100644 --- a/src/main-mac-carbon.c +++ b/src/main-mac-carbon.c @@ -5769,8 +5769,6 @@ void main(void) #ifdef USE_SFL_CODE - -#if ( TARGET_API_MAC_CARBON ) || ( !MAC_MPW ) /* Obtain a "Universal Procedure Pointer" */ AEH_Start_UPP = NewAEEventHandlerUPP(AEH_Start); /* Install the hook (ignore error codes) */ @@ -5794,38 +5792,8 @@ void main(void) /* Install the hook (ignore error codes) */ AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments, AEH_Open_UPP, 0L, FALSE); -#else - /* Obtain a "Universal Procedure Pointer" */ - AEH_Start_UPP = NewAEEventHandlerProc(AEH_Start); - - /* Install the hook (ignore error codes) */ - AEInstallEventHandler(kCoreEventClass, kAEOpenApplication, AEH_Start_UPP, - 0L, FALSE); - - /* Obtain a "Universal Procedure Pointer" */ - AEH_Quit_UPP = NewAEEventHandlerProc(AEH_Quit); - - /* Install the hook (ignore error codes) */ - AEInstallEventHandler(kCoreEventClass, kAEQuitApplication, AEH_Quit_UPP, - 0L, FALSE); - - /* Obtain a "Universal Procedure Pointer" */ - AEH_Print_UPP = NewAEEventHandlerProc(AEH_Print); - - /* Install the hook (ignore error codes) */ - AEInstallEventHandler(kCoreEventClass, kAEPrintDocuments, AEH_Print_UPP, - 0L, FALSE); - - /* Obtain a "Universal Procedure Pointer" */ - AEH_Open_UPP = NewAEEventHandlerProc(AEH_Open); - - /* Install the hook (ignore error codes) */ - AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments, AEH_Open_UPP, - 0L, FALSE); -#endif #endif - /* Find the current application */ SetupAppDir(); -- 2.11.0