diff --git a/camino/src/browser/BrowserWindowController.mm b/camino/src/browser/BrowserWindowController.mm index d4bedf47aef9..4eb1df47be45 100644 --- a/camino/src/browser/BrowserWindowController.mm +++ b/camino/src/browser/BrowserWindowController.mm @@ -3500,7 +3500,7 @@ int TabBarVisiblePrefChangedCallback(const char* inPref, void* inBWC) if (strcmp(inPref, gTabBarVisiblePref) == 0) { BOOL newValue = [[PreferenceManager sharedInstance] getBooleanPref:gTabBarVisiblePref withSuccess:nil]; BrowserWindowController* bwc = (BrowserWindowController*)inBWC; - [bwc->mTabBrowser setBarAlwaysVisible:newValue]; + [[bwc getTabBrowser] setBarAlwaysVisible:newValue]; } return NS_OK; }