summaryrefslogtreecommitdiff
path: root/config.h.win32.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-01-19 01:55:52 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-01-19 01:55:52 +0000
commitf6b4585c98c2cf2588926be0065d4a1e9b909d3e (patch)
tree6db15cdcfa73f9e23e81d61c582394abc02961af /config.h.win32.in
parentf1ce05caa9d04fe67e0872c7b09e35be25c7fc1b (diff)
downloadgtk+-f6b4585c98c2cf2588926be0065d4a1e9b909d3e.tar.gz
Build Wintab support always on Windows. Don't require the Wintab SDK.
2007-01-19 Tor Lillqvist <tml@novell.com> Build Wintab support always on Windows. Don't require the Wintab SDK. * configure.in: Drop the --with-wintab option. Drop the HAVE_WINTAB feature test macro and Automake variable. * acconfig.h * config.h.win32.in: Drop HAVE_WINTAB. * gdk/win32/gdkevents-win32.c * gdk/win32/gdkinput.c * gdk/win32/gdkinput-win32.h * gdk/win32/gdkinput-win32.c * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks unconditional. * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try to load wintab32.dll dynamically here. If it is found look up the handful Wintab functions we use. (rest of file): Use these function pointers instead of calling the functions from wntab32x.lib. The code in wntab32x.lib did the same thing anyway: tried to load wintab32.dll, and looked up the addresses of the actual functions from it. * gdk/Makefile.am * gdk/win32/Makefile.am: Drop the libwntab32x hacks. * gdk/win32/wintab.h * gdk/win32/pktdef.h: New files. Copied from the Wintab SDK. Copyright blurb says: "The text and information contained in this file may be freely used, copied, or distributed without compensation or licensing restrictions." * README.win32: Update a bit. Remove the text about the Wintab SDK. svn path=/trunk/; revision=17186
Diffstat (limited to 'config.h.win32.in')
-rw-r--r--config.h.win32.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.h.win32.in b/config.h.win32.in
index f5d7ed9c90..202a10cfda 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -40,7 +40,6 @@
#endif /* _MSC_VER */
/* #undef HAVE_XFREE_XINERAMA */
/* #undef HAVE_XINERAMA */
-#define HAVE_WINTAB 1
/* #undef HAVE_XCONVERTCASE */
/* #undef HAVE_XFT */