[epiphany] Remove unused variable
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Remove unused variable
- Date: Fri, 16 Jan 2015 23:54:33 +0000 (UTC)
commit c4bf7499ab2cac1225987b378452a413ee7f13ec
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Jan 16 17:53:03 2015 -0600
Remove unused variable
embed/ephy-embed-prefs.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 6d4536a..3e2b1ea 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -452,7 +452,6 @@ webkit_pref_callback_enable_spell_checking (GSettings *settings,
WebKitWebContext *web_context;
gboolean value = FALSE;
char **languages = NULL;
- char *langs = NULL;
EphyEmbedShell *shell = ephy_embed_shell_get_default ();
value = g_settings_get_boolean (settings, key);
@@ -465,14 +464,12 @@ webkit_pref_callback_enable_spell_checking (GSettings *settings,
g_strfreev (languages);
languages = normalized;
- langs = g_strjoinv (",", languages);
}
web_context = ephy_embed_shell_get_web_context (shell);
webkit_web_context_set_spell_checking_enabled (web_context, value);
webkit_web_context_set_spell_checking_languages (web_context, (const char* const *)languages);
- g_free (langs);
g_strfreev (languages);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]