mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
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:
parent
655b170619
commit
0a4fa44528
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ gimp_input_device_store_add (GimpInputDeviceStore *store,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FAILED ((hresult = IDirectInputDevice8_SetCooperativeLevel (didevice8,
|
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))))
|
DISCL_NONEXCLUSIVE | DISCL_BACKGROUND))))
|
||||||
{
|
{
|
||||||
g_warning ("IDirectInputDevice8::SetCooperativeLevel failed: %s",
|
g_warning ("IDirectInputDevice8::SetCooperativeLevel failed: %s",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue