aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPAppController.h4
-rw-r--r--Source/SPAppController.m4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h
index 6a5f9b6a..f22cd1d5 100644
--- a/Source/SPAppController.h
+++ b/Source/SPAppController.h
@@ -52,8 +52,10 @@
// Getters
- (SPPreferenceController *)preferenceController;
-// Other
+// AppleScript handler
- (id)handleQuitScriptCommand:(NSScriptCommand *)command;
+
+// Others
- (NSString *)contentOfFile:(NSString *)aPath;
@end
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index f5023643..e329f796 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -481,13 +481,11 @@
/**
- * What exactly is this for?
+ * AppleScript handler to quit Sequel Pro
*/
- (id)handleQuitScriptCommand:(NSScriptCommand *)command
{
[NSApp terminate:self];
-
- // Suppress warning
return nil;
}