Remove leftover printf and fix build.
This commit is contained in:
@@ -147,7 +147,6 @@ BScrollView::AllUnarchived(const BMessage* archive)
|
|||||||
int32 firstBar = 0;
|
int32 firstBar = 0;
|
||||||
BView* view;
|
BView* view;
|
||||||
while ((view = ChildAt(firstBar++)) != NULL) {
|
while ((view = ChildAt(firstBar++)) != NULL) {
|
||||||
printf("scaning %s\n", view->Name());
|
|
||||||
BScrollBar *bar = dynamic_cast<BScrollBar *>(view);
|
BScrollBar *bar = dynamic_cast<BScrollBar *>(view);
|
||||||
// We assume that the first non-scrollbar child view is the target.
|
// We assume that the first non-scrollbar child view is the target.
|
||||||
// So the target view can't be a BScrollBar, but who would do that?
|
// So the target view can't be a BScrollBar, but who would do that?
|
||||||
@@ -165,8 +164,6 @@ BScrollView::AllUnarchived(const BMessage* archive)
|
|||||||
fVerticalScrollBar = bar;
|
fVerticalScrollBar = bar;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("UA %p %p %p\n", fTarget, fHorizontalScrollBar, fVerticalScrollBar);
|
|
||||||
|
|
||||||
// Now connect the bars to the target, and make the target aware of them
|
// Now connect the bars to the target, and make the target aware of them
|
||||||
if (fHorizontalScrollBar)
|
if (fHorizontalScrollBar)
|
||||||
fHorizontalScrollBar->SetTarget(fTarget);
|
fHorizontalScrollBar->SetTarget(fTarget);
|
||||||
|
|||||||
Reference in New Issue
Block a user