diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPConnectionControllerInitializer.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPConnectionControllerInitializer.m b/Source/SPConnectionControllerInitializer.m index 8a30bf40..8915c6bb 100644 --- a/Source/SPConnectionControllerInitializer.m +++ b/Source/SPConnectionControllerInitializer.m @@ -149,6 +149,7 @@ static NSString *SPConnectionViewNibName = @"ConnectionView"; */ - (void)registerForNotifications { +#ifndef SP_REFACTOR [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(scrollViewFrameChanged:) name:NSViewFrameDidChangeNotification @@ -253,6 +254,7 @@ static NSString *SPConnectionViewNibName = @"ConnectionView"; forKeyPath:SPFavoriteSSLCACertFileLocationKey options:(NSKeyValueObservingOptionOld | NSKeyValueObservingOptionNew) context:NULL]; +#endif } /** |