diff --git a/headers/os/app/Application.h b/headers/os/app/Application.h index f87c32468c..0df9705d39 100644 --- a/headers/os/app/Application.h +++ b/headers/os/app/Application.h @@ -119,7 +119,6 @@ private: virtual bool ScriptReceived(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property); - void run_task(); void InitData(const char* signature, bool initGUI, status_t* error); void BeginRectTracking(BRect r, bool trackWhole); diff --git a/src/kits/app/Application.cpp b/src/kits/app/Application.cpp index 9ec378ad9e..d86bbb5722 100644 --- a/src/kits/app/Application.cpp +++ b/src/kits/app/Application.cpp @@ -484,7 +484,7 @@ BApplication::Run() fRunCalled = true; - run_task(); + task_looper(); delete fPulseRunner; return thread; @@ -974,14 +974,6 @@ BApplication::ScriptReceived(BMessage *message, int32 index, } -void -BApplication::run_task() -{ - // ToDo: run_task() could be removed completely - task_looper(); -} - - void BApplication::BeginRectTracking(BRect rect, bool trackWhole) {