Make everything pointer like

This commit is contained in:
Samuel Attard 2017-03-29 15:11:39 +11:00 committed by Kevin Sawicki
parent 2ba937289c
commit 60cc862031
10 changed files with 15 additions and 15 deletions

View file

@ -411,7 +411,7 @@ enum {
}
-(void)setEscapeTouchBarItem:(mate::PersistentDictionary)item {
if (self.touchBar && atom_touch_bar_)
if (atom_touch_bar_ && self.touchBar)
[atom_touch_bar_ setEscapeTouchBarItem:item forTouchBar:self.touchBar];
}
@ -1422,7 +1422,7 @@ void NativeWindowMac::RefreshTouchBarItem(const std::string& item_id) {
[window_ refreshTouchBarItem:item_id];
}
void NativeWindowMac::SetEscapeTouchBarItem(const mate::PersistentDictionary item) {
void NativeWindowMac::SetEscapeTouchBarItem(const mate::PersistentDictionary& item) {
[window_ setEscapeTouchBarItem:item];
}