Don't need to check if Lock() succeeded here, I don't anywhere else.

This commit is contained in:
John Scipione
2013-04-14 02:49:30 -04:00
parent fe624b3937
commit b54536b20d
+3 -4
View File
@@ -130,10 +130,9 @@ TBarApp::TBarApp()
// Call UpdatePlacement() after the window is shown because expanded
// apps need to resize the window.
if (fBarWindow->Lock()) {
fBarView->UpdatePlacement();
fBarWindow->Unlock();
}
fBarWindow->Lock();
fBarView->UpdatePlacement();
fBarWindow->Unlock();
// this messenger now targets the barview instead of the
// statusview so that all additions to the tray