Isse #1595 - Windows gdk_win32_drawable_get_handle is not exported

Use gdk_win32_window_get_handle() instead. Patch by Partha Bagchi.
This commit is contained in:
Michael Natterer 2018-06-08 09:10:03 +02:00
parent 655b170619
commit 0a4fa44528

View file

@ -374,7 +374,7 @@ gimp_input_device_store_add (GimpInputDeviceStore *store,
}
if (FAILED ((hresult = IDirectInputDevice8_SetCooperativeLevel (didevice8,
(HWND) gdk_win32_drawable_get_handle (store->window),
(HWND) gdk_win32_window_get_handle (store->window),
DISCL_NONEXCLUSIVE | DISCL_BACKGROUND))))
{
g_warning ("IDirectInputDevice8::SetCooperativeLevel failed: %s",