diff --git a/src/add-ons/decorators/MacDecorator/MacDecorator.cpp b/src/add-ons/decorators/MacDecorator/MacDecorator.cpp index 654c07ac73..5e5c5e3abf 100644 --- a/src/add-ons/decorators/MacDecorator/MacDecorator.cpp +++ b/src/add-ons/decorators/MacDecorator/MacDecorator.cpp @@ -59,14 +59,12 @@ MacDecorator::~MacDecorator() void -MacDecorator::SetTitle(const char* string, BRegion* updateRegion) +MacDecorator::_SetTitle(const char* string, BRegion* updateRegion) { // TODO: we could be much smarter about the update region BRect rect = TabRect(); - Decorator::SetTitle(string); - if (updateRegion == NULL) return; @@ -165,7 +163,7 @@ MacDecorator::MoveBy(BPoint offset) void -MacDecorator::ResizeBy(BPoint offset, BRegion* dirty) +MacDecorator::_ResizeBy(BPoint offset, BRegion* dirty) { // Move all internal rectangles the appropriate amount fFrame.right += offset.x; diff --git a/src/add-ons/decorators/MacDecorator/MacDecorator.h b/src/add-ons/decorators/MacDecorator/MacDecorator.h index 5c84bb9191..5d0797b52b 100644 --- a/src/add-ons/decorators/MacDecorator/MacDecorator.h +++ b/src/add-ons/decorators/MacDecorator/MacDecorator.h @@ -19,7 +19,7 @@ public: uint32 flags); ~MacDecorator(); - void SetTitle(const char* string, + void _SetTitle(const char* string, BRegion* updateRegion = NULL); void FontsChanged(DesktopSettings& settings, BRegion* updateRegion); @@ -29,7 +29,7 @@ public: BRegion* updateRegion = NULL); void MoveBy(BPoint offset); - void ResizeBy(BPoint offset, BRegion* dirty); + void _ResizeBy(BPoint offset, BRegion* dirty); // SetTabLocation // TabLocation