aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2017-03-31 23:48:02 +0200
committerMax <post@wickenrode.com>2017-03-31 23:53:51 +0200
commit2a6e6504a3ae379d80fb9c4bd19250382b9180ad (patch)
tree4e4741400adb8184bb8d0f998115821cd5e4c087 /Source/SPBundleEditorController.m
parent004af0c9d13d5c9f29b3e0e08ee7df025ee56026 (diff)
downloadsequelpro-2a6e6504a3ae379d80fb9c4bd19250382b9180ad.tar.gz
sequelpro-2a6e6504a3ae379d80fb9c4bd19250382b9180ad.tar.bz2
sequelpro-2a6e6504a3ae379d80fb9c4bd19250382b9180ad.zip
Update source code compatibility
* Remove forward SDK declaration for 10.8 and below (since that is the minimum required development SDK) * Fix one case where a method unconditionally required a 10.9+ runtime * Move all of the forward/backward hacks into their own file
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r--Source/SPBundleEditorController.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m
index e95c5d8c..ddac2b9e 100644
--- a/Source/SPBundleEditorController.m
+++ b/Source/SPBundleEditorController.m
@@ -29,7 +29,6 @@
// More info at <https://github.com/sequelpro/sequelpro>
#import "SPBundleEditorController.h"
-#import "SPMenuAdditions.h"
#import "SPBundleCommandRunner.h"
#import "SPOutlineView.h"
#import "SPBundleCommandTextView.h"
@@ -245,7 +244,7 @@
}
NSMenuItem *anItem;
- [inputGeneralScopePopUpMenu compatibleRemoveAllItems];
+ [inputGeneralScopePopUpMenu removeAllItems];
anItem = [[NSMenuItem alloc] initWithTitle:SP_BUNDLEEDITOR_SCOPE_GENERAL_STRING action:@selector(scopeButtonChanged:) keyEquivalent:@""];
[anItem setTag:kGeneralScopeArrayIndex];
[inputGeneralScopePopUpMenu addItem:anItem];