Declare with static
This commit is contained in:
parent
0c4e425872
commit
4934685f53
1 changed files with 2 additions and 2 deletions
|
@ -56,10 +56,10 @@ Role kRolesMap[] = {
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
// Menu item is located for ease of removing it from the parent owner
|
// Menu item is located for ease of removing it from the parent owner
|
||||||
NSMenuItem* recentDocumentsMenuItem_ = nil;
|
static NSMenuItem* recentDocumentsMenuItem_ = nil;
|
||||||
|
|
||||||
// TODO(sethlu): Doc & find a better naming
|
// TODO(sethlu): Doc & find a better naming
|
||||||
NSMenu* swapMenu_ = nil;
|
static NSMenu* swapMenu_ = nil;
|
||||||
|
|
||||||
@implementation AtomMenuController
|
@implementation AtomMenuController
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue