Skip to content

Commit

Permalink
Remove leftover printf and fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkomandy committed Oct 12, 2014
1 parent bdb4ae3 commit 1bf53ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/kits/interface/ScrollView.cpp
Expand Up @@ -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?
Expand All @@ -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);
Expand Down

0 comments on commit 1bf53ff

Please sign in to comment.