From 3cace414adb399e105aec01cb0f4c7e5f24b41a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 21 Nov 2005 12:35:30 +0000 Subject: [PATCH] Removed run_task(), as it's not really needed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15057 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/app/Application.h | 1 - src/kits/app/Application.cpp | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) 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) {