summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-05-21 07:33:13 +0200
committerBenjamin Otte <otte@redhat.com>2019-05-21 07:33:57 +0200
commit143bba075fe637554b7f2b41c2caf5811d5b49c5 (patch)
tree1f3d1e6467079c092afc60dd0470f9ef5be6b81d
parent5273634f478937d7edb87759a4805d336a2191c9 (diff)
downloadgtk+-143bba075fe637554b7f2b41c2caf5811d5b49c5.tar.gz
win32: Remove outdated workaround
The function that was missing in 2016 does exist now. Fixes gcc complaining about a wrong declaration.
-rw-r--r--gdk/win32/gdkmonitor-win32.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdk/win32/gdkmonitor-win32.c b/gdk/win32/gdkmonitor-win32.c
index 108e5083ed..e631dc5a7e 100644
--- a/gdk/win32/gdkmonitor-win32.c
+++ b/gdk/win32/gdkmonitor-win32.c
@@ -144,20 +144,6 @@ typedef LONG
#define MONITORINFOF_PRIMARY 1
#endif
-/* MinGW-w64 does not have a prototype for function in its headers
- * at the moment of writing.
- */
-#if !defined (HAVE_SETUP_DI_GET_DEVICE_PROPERTY_W)
-BOOL WINAPI SetupDiGetDevicePropertyW (HDEVINFO DeviceInfoSet,
- PSP_DEVINFO_DATA DeviceInfoData,
- const DEVPROPKEY *PropertyKey,
- DEVPROPTYPE *PropertyType,
- PBYTE PropertyBuffer,
- DWORD PropertyBufferSize,
- PDWORD RequiredSize,
- DWORD Flags);
-#endif
-
#define G_GUID_FORMAT "%08lX-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X"
#define g_format_guid(guid) (guid)->Data1, \
(guid)->Data2, \