sorry, forgot about this change... fixes build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17604 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c7b650c800
commit
a502e8cd6e
@ -203,7 +203,7 @@ public:
|
||||
float* minHeight, float* maxHeight);
|
||||
|
||||
status_t SetDecoratorSettings(const BMessage& settings);
|
||||
status_t GetDecoratorSettings(BMessage* settings);
|
||||
status_t GetDecoratorSettings(BMessage* settings) const;
|
||||
|
||||
uint32 Workspaces() const;
|
||||
void SetWorkspaces(uint32);
|
||||
|
@ -1222,12 +1222,12 @@ BWindow::SetDecoratorSettings(const BMessage& settings)
|
||||
|
||||
|
||||
status_t
|
||||
BWindow::GetDecoratorSettings(BMessage* settings)
|
||||
BWindow::GetDecoratorSettings(BMessage* settings) const
|
||||
{
|
||||
// read a flattened settings message from the app_server
|
||||
// and put it into settings
|
||||
|
||||
if (!Lock())
|
||||
if (!const_cast<BWindow*>(this)->Lock())
|
||||
return B_ERROR;
|
||||
|
||||
status_t ret = fLink->StartMessage(AS_GET_DECORATOR_SETTINGS);
|
||||
@ -1251,7 +1251,7 @@ BWindow::GetDecoratorSettings(BMessage* settings)
|
||||
}
|
||||
}
|
||||
|
||||
Unlock();
|
||||
const_cast<BWindow*>(this)->Unlock();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user