Make everything pointer like
This commit is contained in:
parent
2ba937289c
commit
60cc862031
10 changed files with 15 additions and 15 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue