aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-18 22:09:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-23 03:50:09 +0800
commit0c83b9b25d967ce6d6793ef851e86bc272a2f129 (patch)
treed97a5083bd6a03c273f744a60b56205dcf2befaf /composer
parentc75f58d01bb7bbe139cd73a85894dc5f50185816 (diff)
downloadgsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar
gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar.gz
gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar.bz2
gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar.lz
gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar.xz
gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar.zst
gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.zip
Miscellaneous cleanups.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-msg-composer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index bdca1d8d5d..f3b4ddfa21 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -5034,7 +5034,7 @@ e_load_spell_languages (void)
GSettings *settings;
GList *spell_languages = NULL;
gchar **strv;
- gint i;
+ gint ii;
/* Ask GSettings for a list of spell check language codes. */
settings = g_settings_new ("org.gnome.evolution.mail");
@@ -5042,8 +5042,8 @@ e_load_spell_languages (void)
g_object_unref (settings);
/* Convert the codes to spell language structs. */
- for (i = 0; strv[i] != NULL; i++) {
- gchar *language_code = strv[i];
+ for (ii = 0; strv[ii] != NULL; ii++) {
+ gchar *language_code = strv[ii];
const GtkhtmlSpellLanguage *language;
language = gtkhtml_spell_language_lookup (language_code);
@@ -5094,7 +5094,7 @@ e_save_spell_languages (GList *spell_languages)
/* Save the language codes to GSettings. */
settings = g_settings_new ("org.gnome.evolution.mail");
- g_settings_set_strv (settings, "composer-spell-languages", (const char * const *) lang_array->pdata);
+ g_settings_set_strv (settings, "composer-spell-languages", (const gchar * const *) lang_array->pdata);
g_object_unref (settings);
g_ptr_array_free (lang_array, TRUE);