aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMHotKeyTextField.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-02-13 17:30:09 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-02-13 17:30:09 +0000
commite87795d0d15fd8b725b2e4899275aa713d39e9e3 (patch)
tree72b445079e5528f0eda4ba0edd9d919dc863251e /AppKit/GTMHotKeyTextField.m
parent0a3fae419f654ceb4c708300f7bd7702cbb12db1 (diff)
No need for [self class] in a class method.
DELTA=26 (0 added, 0 deleted, 26 changed)
Diffstat (limited to 'AppKit/GTMHotKeyTextField.m')
-rw-r--r--AppKit/GTMHotKeyTextField.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/AppKit/GTMHotKeyTextField.m b/AppKit/GTMHotKeyTextField.m
index c73d217..5ef59b4 100644
--- a/AppKit/GTMHotKeyTextField.m
+++ b/AppKit/GTMHotKeyTextField.m
@@ -51,9 +51,9 @@ static CFStringRef kGTM_TISPropertyUnicodeKeyLayoutData = NULL;
+ (id)hotKeyWithKeyCode:(NSUInteger)keyCode
modifiers:(NSUInteger)modifiers
useDoubledModifier:(BOOL)doubledModifier {
- return [[[[self class] alloc] initWithKeyCode:keyCode
- modifiers:modifiers
- useDoubledModifier:doubledModifier] autorelease];
+ return [[[self alloc] initWithKeyCode:keyCode
+ modifiers:modifiers
+ useDoubledModifier:doubledModifier] autorelease];
}
- (id)initWithKeyCode:(NSUInteger)keyCode