diff options
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r-- | unix/tkUnixKey.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c index 4e150f7..d55fde0 100644 --- a/unix/tkUnixKey.c +++ b/unix/tkUnixKey.c @@ -12,6 +12,13 @@ #include "tkInt.h" +#ifdef __GNUC__ +/* + * We know that XKeycodeToKeysym is deprecated, nothing we can do about it. + */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + /* ** Bug [3607830]: Before using Xkb, it must be initialized. TkpOpenDisplay ** does this and sets the USE_XKB flag if xkb is supported. |