diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-06 16:34:15 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-06 16:34:15 (EDT) |
commit | e95eb1a4f1a4d3cae0de1309ace6c0fb644e3b64 (patch) | |
tree | 891635847248dd85acefb663755dc6370e705f5b /src | |
parent | a035bfbe7b55404aef5f0af0db615e6bd99c294d (diff) | |
download | marquee-e95eb1a4f1a4d3cae0de1309ace6c0fb644e3b64.zip marquee-e95eb1a4f1a4d3cae0de1309ace6c0fb644e3b64.tar.gz marquee-e95eb1a4f1a4d3cae0de1309ace6c0fb644e3b64.tar.bz2 |
src/web-settings.c: Cast string lists to (const gchar * const *)
Diffstat (limited to 'src')
-rw-r--r-- | src/web-settings.c | 6 |
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 |