summaryrefslogtreecommitdiffstats
path: root/DDHotKeyAppDelegate.m
diff options
context:
space:
mode:
authorDave DeLong2010-02-26 14:38:59 -0700
committerDave DeLong2010-02-26 14:38:59 -0700
commit3eb84979081c9651a6def70e4b59f4bd1c918cbc (patch)
tree9749424e20cd36e97cddcd0658280cb971775736 /DDHotKeyAppDelegate.m
parentf9c02364f1e5f14c4c2e9cde7ed0052500f75c8d (diff)
downloadDDHotKey-3eb84979081c9651a6def70e4b59f4bd1c918cbc.tar.bz2
Minor API name change to more closely follow convention
Diffstat (limited to 'DDHotKeyAppDelegate.m')
-rw-r--r--DDHotKeyAppDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/DDHotKeyAppDelegate.m b/DDHotKeyAppDelegate.m
index 0599be2..8857060 100644
--- a/DDHotKeyAppDelegate.m
+++ b/DDHotKeyAppDelegate.m
@@ -67,7 +67,7 @@
[self addOutput:[NSString stringWithFormat:@"Hotkey event: %@", hkEvent]];
[self addOutput:[NSString stringWithFormat:@"the answer is: %d", theAnswer]];
};
- if (![c registerHotKeyWithKeyCode:9 modifierFlags:(NSControlKeyMask | NSAlternateKeyMask | NSCommandKeyMask) block:task]) {
+ if (![c registerHotKeyWithKeyCode:9 modifierFlags:(NSControlKeyMask | NSAlternateKeyMask | NSCommandKeyMask) task:task]) {
[self addOutput:@"Unable to register hotkey for example 3"];
} else {
[self addOutput:@"Registered hotkey for example 3"];