x11/keymap: Silence deprecation warnings around a fallback
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 19 Mar 2012 14:40:46 +0000 (14:40 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 19 Mar 2012 14:40:46 +0000 (14:40 +0000)
commit5a77f814abfee368e4322d5dacbfce1869bc3149
tree2892bbaed6d70e9d83ea51d42c045f4322d605f0
parent09a317d23dc7d4785c31f8393b54392b5f473f60
x11/keymap: Silence deprecation warnings around a fallback

We still use XKeycodeToKeysym() in a fallback path in case we're not
running on a decent enough system; XKeycodeToKeysym() is deprecated as
of version 1.12 of the X server, but since I don't want to copy a bunch
of code from GDK or, god forbid, from Xlib, for a fallback path, it's
probably more reasonable to just silence the compiler warnings - at
least until we can drop all the X compatibility crap, and just use
modern, or semi-modern, API.
clutter/x11/clutter-keymap-x11.c