Move the keysym ↔ Unicode table to .rodata
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 28 Feb 2011 14:02:00 +0000 (14:02 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 28 Feb 2011 14:16:24 +0000 (14:16 +0000)
commite2b5762571086cbbb76f11460ba1c10d35318400
treec9a2ef57720611a1abbb9992ec385ad72730d0db
parent23c0dac23193e9a10283c87b0163a426cc9c49e0
Move the keysym ↔ Unicode table to .rodata

The table we use for converting between keysyms and Unicode should be
static and constified, so that it can live in the .rodata section of
the ELF shared object, and be shared among processes.

This change moves the table to a source file, instead of an header; the
change also requires the clutter_keysym_to_unicode() function to be
moved from clutter-event.c into this new source file. The declaration is
still in clutter-event.h, so we don't need to do anything special.
clutter/Makefile.am
clutter/clutter-event.c
clutter/clutter-keysyms-table.c [moved from clutter/clutter-keysyms-table.h with 97% similarity]