diff --git a/src/add-ons/tracker/iconvader/IconVader.cpp b/src/add-ons/tracker/iconvader/IconVader.cpp index c1bac3d0a6..7eabce96af 100644 --- a/src/add-ons/tracker/iconvader/IconVader.cpp +++ b/src/add-ons/tracker/iconvader/IconVader.cpp @@ -104,10 +104,10 @@ process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/) score-=10; pose->Select(false); } - BPoint location = pose->Location(); + BPoint location = pose->Location(view); location.x += ((rand() % 20) - 10); location.y += ((rand() % 20) - 10); - pose->SetLocation(location); + pose->SetLocation(location, view); } view->CheckPoseVisibility(); diff --git a/src/add-ons/tracker/iconvader/Jamfile b/src/add-ons/tracker/iconvader/Jamfile index 8eaaaff80b..51f5561a5c 100644 --- a/src/add-ons/tracker/iconvader/Jamfile +++ b/src/add-ons/tracker/iconvader/Jamfile @@ -5,6 +5,7 @@ SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM_HAIKU_COMPATIBLE) { UseHeaders [ FDirName $(HAIKU_TOP) src kits tracker ] : true ; UsePrivateHeaders tracker ; + UsePrivateHeaders shared ; } else { # private, for testing... SubDirC++Flags -I/work/zeta/src/cebit/os/zeta/system/lib/tracker ;