Fixed build. The 'nice' thing is that it worked on r5 (even with our app_server) as the function is present in the header (just not implemented in our libbe).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13395 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -253,11 +253,15 @@ BScrollBar::BScrollBar(BMessage *archive)
|
|||||||
|
|
||||||
BScrollBar::~BScrollBar()
|
BScrollBar::~BScrollBar()
|
||||||
{
|
{
|
||||||
|
if (fTarget) {
|
||||||
|
if (Orientation() == B_VERTICAL)
|
||||||
|
fTarget->fVerScroller = NULL;
|
||||||
|
else
|
||||||
|
fTarget->fHorScroller = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
delete fPrivateData;
|
delete fPrivateData;
|
||||||
free(fTargetName);
|
free(fTargetName);
|
||||||
|
|
||||||
if (fTarget)
|
|
||||||
fTarget->UnsetScroller(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user