From a944a6603409642e8b5ac0a2295042644d5bf05c Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Thu, 5 Jul 2012 19:14:04 +0000 Subject: Another tweak for SP r3710 merge with Coda --- Source/SPConnectionControllerInitializer.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source') 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 } /** -- cgit v1.2.3