From 0a4fa44528ec3cfa1213b8d042f859d23bb9a2ce Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 8 Jun 2018 09:10:03 +0200 Subject: [PATCH] Isse #1595 - Windows gdk_win32_drawable_get_handle is not exported Use gdk_win32_window_get_handle() instead. Patch by Partha Bagchi. --- modules/gimpinputdevicestore-dx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gimpinputdevicestore-dx.c b/modules/gimpinputdevicestore-dx.c index bb290c5464..cac0b6c9d7 100644 --- a/modules/gimpinputdevicestore-dx.c +++ b/modules/gimpinputdevicestore-dx.c @@ -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",