summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/web-settings.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/web-settings.c b/src/web-settings.c
index fe99de0..ac03009 100644
--- a/src/web-settings.c
+++ b/src/web-settings.c
@@ -214,7 +214,8 @@ wkwc_set_spell_checking_languages(MqConfig *config, const gchar *name,
WebKitWebContext *wk_web_context)
{
webkit_web_context_set_spell_checking_languages(wk_web_context,
- mq_config_get_string_list(config, name));
+ (const gchar * const *) mq_config_get_string_list(config,
+ name));
}
static void
@@ -223,7 +224,8 @@ wkwc_set_preferred_languages(MqConfig *config, const gchar *name,
WebKitWebContext *wk_web_context)
{
webkit_web_context_set_preferred_languages(wk_web_context,
- mq_config_get_string_list(config, name));
+ (const gchar * const *) mq_config_get_string_list(config,
+ name));
}
static void