Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
nek023 committed Mar 7, 2014
1 parent 1e5df53 commit 5079331
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lin/Lin.m
Expand Up @@ -98,7 +98,7 @@ - (instancetype)init
name:NSWindowDidBecomeMainNotification
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(indexDidChangeState:)
selector:@selector(indexDidIndexWorkspace:)
name:@"IDEIndexDidIndexWorkspaceNotification"
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
Expand Down Expand Up @@ -179,7 +179,7 @@ - (void)dealloc
name:NSWindowDidBecomeMainNotification
object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self
name:@"IDEIndexDidChangeStateNotification"
name:@"IDEIndexDidIndexWorkspaceNotification"
object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self
name:@"IDEEditorDocumentDidSaveNotification"
Expand Down Expand Up @@ -288,7 +288,7 @@ - (void)workspaceWindowDidBecomeMain:(NSNotification *)notification
}
}

- (void)indexDidChangeState:(NSNotification *)notification
- (void)indexDidIndexWorkspace:(NSNotification *)notification
{
IDEIndex *index = (IDEIndex *)[notification object];
[self indexNeedsUpdate:index];
Expand Down

0 comments on commit 5079331

Please sign in to comment.