summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
Diffstat (limited to 'gdk')
-rw-r--r--gdk/win32/gdkdevicemanager-win32.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gdk/win32/gdkdevicemanager-win32.c b/gdk/win32/gdkdevicemanager-win32.c
index 54018157b6..d8f01764f2 100644
--- a/gdk/win32/gdkdevicemanager-win32.c
+++ b/gdk/win32/gdkdevicemanager-win32.c
@@ -1148,15 +1148,10 @@ wintab_init_check (GdkDeviceManagerWin32 *device_manager)
if (!(lc.lcOptions & CXO_SYSTEM))
{
lc.lcOptions |= CXO_SYSTEM;
- if (!p_WTSetA (hctx, &lc))
- {
- g_warning ("Could not set the CXO_SYSTEM option in the WINTAB context");
- }
+ if (!p_WTSetA (*hctx, &lc))
+ g_warning ("Could not set the CXO_SYSTEM option in the WINTAB context");
}
-#if 0
- (*p_WTEnable) (*hctx, TRUE);
-#endif
(*p_WTOverlap) (*hctx, TRUE);
#if DEBUG_WINTAB