summaryrefslogtreecommitdiff
path: root/gdk/gdkkeyuni.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-01 06:25:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-01 06:25:55 +0000
commit6da29b43a6bd8ddc8fd69cc316013c8ce64a2ef3 (patch)
tree20858afbdb6c86363b39ebf6f123fb74ae380ae4 /gdk/gdkkeyuni.c
parentd16ad30f403a1823f8cb813415a3aa1030f5a37e (diff)
downloadgtk+-6da29b43a6bd8ddc8fd69cc316013c8ce64a2ef3.tar.gz
gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c
2005-03-01 Matthias Clasen <mclasen@redhat.com> * gdk/gdkkeyuni.c * gdk/gdkpixbuf-drawable.c * gdk/gdkrgb.c * gdk/x11/gdkdnd-x11.c * gdk/x11/gdkevents-x11.c * gdk/x11/gdkproperty-x11.c * gdk/x11/gdkvisual-x11.c * gdk-pixbuf/gdk-pixbuf.c * gtk/gtkaction.c * gtk/gtkbindings.c * gtk/gtkcolorbutton.c * gtk/gtkcombo.c * gtk/gtkcontainer.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkiconview.c * gtk/gtkinputdialog.c * gtk/gtkitemfactory.c * gtk/gtkmenu.c * gtk/gtktextview.c * gtk/gtktooltips.c * gtk/gtktreedatalist.c * gtk/gtkuimanager.c * gtk/tree_minus.xpm * gtk/tree_plus.xpm * gtk/xdgmime/xdgmime.c * gtk/xdgmime/xdgmime.h: Move constant data to .rodata.
Diffstat (limited to 'gdk/gdkkeyuni.c')
-rw-r--r--gdk/gdkkeyuni.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c
index bbd06f71f8..83bf1791b6 100644
--- a/gdk/gdkkeyuni.c
+++ b/gdk/gdkkeyuni.c
@@ -10,7 +10,7 @@
* is smallish. It would save about ~1000 bytes total.
*/
-static struct {
+static const struct {
unsigned short keysym;
unsigned short ucs;
} gdk_keysym_to_unicode_tab[] = {
@@ -872,7 +872,7 @@ gdk_keyval_to_unicode (guint keyval)
return 0;
}
-static struct {
+static const struct {
unsigned short keysym;
unsigned short ucs;
} gdk_unicode_to_keysym_tab[] = {