diff --git a/src/apps/webpositive/DownloadWindow.cpp b/src/apps/webpositive/DownloadWindow.cpp index f6e94b1072..335b526a20 100644 --- a/src/apps/webpositive/DownloadWindow.cpp +++ b/src/apps/webpositive/DownloadWindow.cpp @@ -385,13 +385,13 @@ DownloadWindow::~DownloadWindow() void DownloadWindow::MessageReceived(BMessage* message) { switch (message->what) { - case DOWNLOAD_ADDED: { + case B_DOWNLOAD_ADDED: { WebDownload* download; if (message->FindPointer("download", reinterpret_cast(&download)) == B_OK) downloadStarted(download); break; } - case DOWNLOAD_REMOVED: { + case B_DOWNLOAD_REMOVED: { WebDownload* download; if (message->FindPointer("download", reinterpret_cast(&download)) == B_OK) downloadFinished(download); diff --git a/src/apps/webpositive/LauncherApp.cpp b/src/apps/webpositive/LauncherApp.cpp index 9503f2c3e7..4f01619717 100644 --- a/src/apps/webpositive/LauncherApp.cpp +++ b/src/apps/webpositive/LauncherApp.cpp @@ -92,8 +92,8 @@ void LauncherApp::ArgvReceived(int32 argc, char** argv) void LauncherApp::ReadyToRun() { - WebPage::initializeOnce(); - WebPage::setCacheModel(WEBKIT_CACHE_MODEL_WEB_BROWSER); + BWebPage::InitializeOnce(); + BWebPage::SetCacheModel(B_WEBKIT_CACHE_MODEL_WEB_BROWSER); BFile settingsFile; BRect windowFrameFromSettings = m_lastWindowFrame; diff --git a/src/apps/webpositive/LauncherWindow.cpp b/src/apps/webpositive/LauncherWindow.cpp index 3a4171c277..b8f07ad021 100644 --- a/src/apps/webpositive/LauncherWindow.cpp +++ b/src/apps/webpositive/LauncherWindow.cpp @@ -201,7 +201,7 @@ LauncherWindow::LauncherWindow(BRect frame, const BMessenger& downloadListener, ); } - currentWebView()->webPage()->setDownloadListener(downloadListener); + currentWebView()->webPage()->SetDownloadListener(downloadListener); m_findGroup->SetVisible(false);