Commit cf4afcba authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix some warnings

parent 432f9c42
......@@ -278,7 +278,7 @@ static void addonsEventsCallback( const vlc_event_t *event, void *data )
// update ui
[_addonsTable reloadData];
[self tableViewSelectionDidChange:nil];
[[NSNotificationCenter defaultCenter] postNotificationName:NSTableViewSelectionDidChangeNotification object:_addonsTable];
}
- (void)_findNewAddons
......
......@@ -103,7 +103,7 @@ static void MsgCallback(void *data, int type, const vlc_log_t *item, const char
- (IBAction)updateMessagesPanel:(id)sender
{
[self windowDidBecomeKey:nil];
[[NSNotificationCenter defaultCenter] postNotificationName:NSWindowDidBecomeKeyNotification object:self.window];
}
- (void)windowDidBecomeKey:(NSNotification *)notification
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment