Skip to content

Commit dac9bd3

Browse files
andrebergbrotherbard
authored andcommitted
Make default (id) explicit for some method decls/defs in PBGitHistoryController.m
1 parent 10149fc commit dac9bd3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PBGitHistoryController.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
- (IBAction) setBranchFilter:(id)sender;
5959

6060
- (void) selectCommit: (NSString*) commit;
61-
- (IBAction) refresh: sender;
61+
- (IBAction) refresh:(id)sender;
6262
- (IBAction) toggleQLPreviewPanel:(id)sender;
63-
- (IBAction) openSelectedFile: sender;
63+
- (IBAction) openSelectedFile:(id)sender;
6464
- (void) updateQuicklookForce: (BOOL) force;
6565

6666
// Context menu methods

PBGitHistoryController.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ - (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(
243243
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
244244
}
245245

246-
- (IBAction) openSelectedFile: sender
246+
- (IBAction) openSelectedFile:(id)sender
247247
{
248248
NSArray* selectedFiles = [treeController selectedObjects];
249249
if ([selectedFiles count] == 0)
@@ -339,7 +339,7 @@ - (void) updateQuicklookForce:(BOOL)force
339339
}
340340
}
341341

342-
- (IBAction) refresh: sender
342+
- (IBAction) refresh:(id)sender
343343
{
344344
[repository forceUpdateRevisions];
345345
}

0 commit comments

Comments
 (0)