mirror of
https://github.com/webui-dev/webui
synced 2025-03-28 21:13:17 +00:00
Fix GCC Warning - ICoreWebView2Controller
This commit is contained in:
parent
1f80350564
commit
3c03d4f45c
@ -183,7 +183,7 @@ typedef struct webui_event_inf_t {
|
||||
typedef struct _webui_wv_win32_t {
|
||||
// Win32 WebView
|
||||
ICoreWebView2Environment* webviewEnvironment;
|
||||
ICoreWebView2Controller2* webviewController;
|
||||
ICoreWebView2Controller* webviewController;
|
||||
ICoreWebView2* webviewWindow;
|
||||
HWND hwnd;
|
||||
void* titleChangedHandler;
|
||||
@ -11063,7 +11063,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
|
||||
HRESULT STDMETHODCALLTYPE CreateWebViewControllerHandler_Invoke(
|
||||
ICoreWebView2CreateCoreWebView2ControllerCompletedHandler* This,
|
||||
HRESULT result,
|
||||
ICoreWebView2Controller2* controller
|
||||
ICoreWebView2Controller* controller
|
||||
);
|
||||
|
||||
HRESULT STDMETHODCALLTYPE QueryInterfaceEnvironment(
|
||||
@ -11188,7 +11188,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
|
||||
|
||||
HRESULT STDMETHODCALLTYPE CreateWebViewControllerHandler_Invoke(
|
||||
ICoreWebView2CreateCoreWebView2ControllerCompletedHandler* This, HRESULT result,
|
||||
ICoreWebView2Controller2* controller) {
|
||||
ICoreWebView2Controller* controller) {
|
||||
CreateWebViewControllerHandler* handler = (CreateWebViewControllerHandler*)This;
|
||||
_webui_wv_win32_t* webView = handler->webView;
|
||||
if (SUCCEEDED(result) && controller != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user