diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-07-28 09:56:15 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-07-28 09:58:06 +0800 |
commit | 71aa479d16801035768df3ad10cd8dd3a834fb05 (patch) | |
tree | 4178c682e0c9ffc9eb7769a42dd1815008f6889d /gdk | |
parent | 998f4f32cccc7ebe3699be74fb066e1d20f472cf (diff) | |
download | gtk+-71aa479d16801035768df3ad10cd8dd3a834fb05.tar.gz |
gdkdevicemanager-win32.c: Fix build
Fix the call to p_WTSetA, as we should be passing in a HCTX, not a
HCTX*. Also clean up things a bit.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/win32/gdkdevicemanager-win32.c | 9 |
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 |