[gimp] Isse #1595 - Windows gdk_win32_drawable_get_handle is not exported



commit 0a4fa44528ec3cfa1213b8d042f859d23bb9a2ce
Author: Michael Natterer <mitch gimp org>
Date:   Fri Jun 8 09:10:03 2018 +0200

    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",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]