Remove leftover printf and fix build.

This commit is contained in:
Adrien Destugues
2014-10-12 16:21:22 +02:00
parent bdb4ae32fd
commit 1bf53ffcfc
-3
View File
@@ -147,7 +147,6 @@ BScrollView::AllUnarchived(const BMessage* archive)
int32 firstBar = 0;
BView* view;
while ((view = ChildAt(firstBar++)) != NULL) {
printf("scaning %s\n", view->Name());
BScrollBar *bar = dynamic_cast<BScrollBar *>(view);
// 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?
@@ -165,8 +164,6 @@ BScrollView::AllUnarchived(const BMessage* archive)
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
if (fHorizontalScrollBar)
fHorizontalScrollBar->SetTarget(fTarget);