diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-15 21:32:51 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-17 11:44:11 +0100 |
commit | 1f132607f78b9ccee2c6c598baa722eb0d25e4d0 (patch) | |
tree | 64234e56f7ef3c83ea5da827264593dd985ae279 /gtk/gtkimcontextsimple.c | |
parent | 590e7e68d8c774e5776736d75cf2602cc4f4dc5d (diff) | |
download | gtk+-1f132607f78b9ccee2c6c598baa722eb0d25e4d0.tar.gz |
gtk: Use appropriate constness for variables
Diffstat (limited to 'gtk/gtkimcontextsimple.c')
-rw-r--r-- | gtk/gtkimcontextsimple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index c0c7da7e98..3484b9dd7b 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -157,8 +157,8 @@ gtk_im_context_simple_init_compose_table (GtkIMContextSimple *im_context_simple) const gchar *locale; gchar **langs = NULL; gchar **lang = NULL; - gchar * const sys_langs[] = { "el_gr", "fi_fi", "pt_br", NULL }; - gchar * const *sys_lang = NULL; + const char * const sys_langs[] = { "el_gr", "fi_fi", "pt_br", NULL }; + const char * const *sys_lang = NULL; gchar *x11_compose_file_dir = get_x11_compose_file_dir (); path = g_build_filename (g_get_user_config_dir (), "gtk-3.0", "Compose", NULL); |