diff options
Diffstat (limited to 'plugins/CloudFile/src/oauth.cpp')
-rw-r--r-- | plugins/CloudFile/src/oauth.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/oauth.cpp b/plugins/CloudFile/src/oauth.cpp index cad2bd8651..9516ef4139 100644 --- a/plugins/CloudFile/src/oauth.cpp +++ b/plugins/CloudFile/src/oauth.cpp @@ -1,6 +1,6 @@ #include "stdafx.h" -COAuthDlg::COAuthDlg(CCloudService *service, const char *authUrl, pThreadFuncOwner requestAccessTokenThread) +COAuthDlg::COAuthDlg(CCloudService *service, const char *authUrl, CCloudService::MyThreadFunc requestAccessTokenThread) : CDlgBase(g_plugin.getInst(), IDD_OAUTH), m_service(service), m_requestAccessTokenThread(requestAccessTokenThread), m_authorize(this, IDC_OAUTH_AUTHORIZE, authUrl), @@ -28,5 +28,5 @@ void COAuthDlg::Code_OnChange(CCtrlBase*) void COAuthDlg::Ok_OnClick(CCtrlButton*) { - mir_forkthreadowner(m_requestAccessTokenThread, m_service, m_hwnd); + m_service->ForkThread(m_requestAccessTokenThread, m_hwnd); }
\ No newline at end of file |