]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - unix/gtkwin.c
GTK 3 prep: use GDK_KEY_<keyname> constants, not GDK_<keyname>.
authorSimon Tatham <anakin@pobox.com>
Sat, 8 Aug 2015 15:23:54 +0000 (16:23 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 8 Aug 2015 16:54:27 +0000 (17:54 +0100)
commita6ccb8e72000c53cca779367136ca5c8a9d03a12
tree96a895c05bdf4027377785b178bbc322e8af90c8
parent0a3e5939597ada7509445cfe2caa28f16ec2459e
GTK 3 prep: use GDK_KEY_<keyname> constants, not GDK_<keyname>.

GTK 2 doesn't _documentedly_ provide a helpful compile option to let
us check this one in advance of GTK 3, but you can fake one anyway by
compiling with -D__GDK_KEYSYMS_COMPAT_H__, so that gdkkeysyms-compat.h
will believe that it's already been included :-) We now build cleanly
under GTK 2 with that predefine.
unix/gtkask.c
unix/gtkcompat.h
unix/gtkdlg.c
unix/gtkwin.c