]> granicus.if.org Git - transmission/commitdiff
more ipc code removal
authorMitchell Livingston <livings124@transmissionbt.com>
Mon, 19 May 2008 13:29:07 +0000 (13:29 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Mon, 19 May 2008 13:29:07 +0000 (13:29 +0000)
macosx/Controller.h
macosx/Controller.m

index 81e8b2e0f97fc69e5884c40ede8de18b4dd7e5a0..69ed75e0159aba7641fef1d79356469ba221aa0e 100644 (file)
@@ -115,8 +115,6 @@ typedef enum
     NSMutableArray                  * fTempTorrentFiles;
     
     BOOL                            fSoundPlaying;
-    
-    BOOL                            fRemoteQuit;
 }
 
 - (void) openFiles:             (NSArray *) filenames addType: (addType) type forcePath: (NSString *) path;
index 54addc8a6b628094a4292b8c37520f07e8370819..0898e6bca8c386f1565a4f35ac1f7eb09e2af66a 100644 (file)
@@ -227,8 +227,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
         
         fSoundPlaying = NO;
         
-        fRemoteQuit = NO;
-        
         [GrowlApplicationBridge setGrowlDelegate: self];
         [[UKKQueue sharedFileWatcher] setDelegate: self];
     }
@@ -502,7 +500,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
 
 - (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) sender
 {
-    if (!fUpdateInProgress && !fRemoteQuit && [fDefaults boolForKey: @"CheckQuit"])
+    if (!fUpdateInProgress && [fDefaults boolForKey: @"CheckQuit"])
     {
         int active = 0, downloading = 0;
         Torrent * torrent;
@@ -4048,7 +4046,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
         [[NSWorkspace sharedWorkspace] selectFile: location inFileViewerRootedAtPath: nil];
 }
 
-- (void) ipcQuit
+/*- (void) ipcQuit
 {
     fRemoteQuit = YES;
     [NSApp terminate: self];
@@ -4215,6 +4213,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
     [self confirmRemoveTorrents: torrents deleteData: NO deleteTorrent: NO];
 
     return YES;
-}
+}*/
 
 @end