diff --git a/src/preferences/screensaver/ScreenSaverWindow.cpp b/src/preferences/screensaver/ScreenSaverWindow.cpp index df5d84c09e..7714f17e1c 100644 --- a/src/preferences/screensaver/ScreenSaverWindow.cpp +++ b/src/preferences/screensaver/ScreenSaverWindow.cpp @@ -887,7 +887,7 @@ TabView::MouseDown(BPoint where) ScreenSaverWindow::ScreenSaverWindow() : - BDirectWindow(BRect(50, 50, 496, 375), + BWindow(BRect(50, 50, 496, 375), B_TRANSLATE_SYSTEM_NAME("ScreenSaver"), B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS | B_AUTO_UPDATE_SIZE_LIMITS) { @@ -958,15 +958,6 @@ ScreenSaverWindow::~ScreenSaverWindow() } -void -ScreenSaverWindow::DirectConnected(direct_buffer_info* info) -{ - BScreenSaver* saver = fModulesView->ScreenSaver(); - if (saver != NULL) - saver->DirectConnected(info); -} - - void ScreenSaverWindow::MessageReceived(BMessage* message) { @@ -982,7 +973,7 @@ ScreenSaverWindow::MessageReceived(BMessage* message) break; default: - BDirectWindow::MessageReceived(message); + BWindow::MessageReceived(message); } } diff --git a/src/preferences/screensaver/ScreenSaverWindow.h b/src/preferences/screensaver/ScreenSaverWindow.h index b9ddf45f77..e1f8834246 100644 --- a/src/preferences/screensaver/ScreenSaverWindow.h +++ b/src/preferences/screensaver/ScreenSaverWindow.h @@ -26,13 +26,11 @@ class ModulesView; class TabView; -class ScreenSaverWindow : public BDirectWindow { +class ScreenSaverWindow : public BWindow { public: ScreenSaverWindow(); virtual ~ScreenSaverWindow(); - virtual void DirectConnected(direct_buffer_info* info); - virtual void MessageReceived(BMessage* message); virtual void ScreenChanged(BRect frame, color_space space); virtual bool QuitRequested();