diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-06 16:58:51 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-06 16:58:51 (EDT) |
commit | a0ab7463b8c1e866dc85baa1e33453942864fbc6 (patch) | |
tree | 7423f8e697ba4052e90b9bdf2a9c8780d0a580d1 | |
parent | e95eb1a4f1a4d3cae0de1309ace6c0fb644e3b64 (diff) | |
download | marquee-a0ab7463b8c1e866dc85baa1e33453942864fbc6.zip marquee-a0ab7463b8c1e866dc85baa1e33453942864fbc6.tar.gz marquee-a0ab7463b8c1e866dc85baa1e33453942864fbc6.tar.bz2 |
src/web-settings.c: Rename wkwc_*() callbacks
-rw-r--r-- | src/web-settings.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/web-settings.c b/src/web-settings.c index ac03009..0820f8d 100644 --- a/src/web-settings.c +++ b/src/web-settings.c @@ -201,7 +201,7 @@ wks_str_cb(MqConfig __attribute__((unused)) *config, const gchar *name, } static void -wkwc_set_spell_checking_enabled(MqConfig __attribute__((unused)) *config, +wkwc_spell_checking_enabled_cb(MqConfig __attribute__((unused)) *config, const gchar __attribute__((unused)) *name, const gboolean value, WebKitWebContext *wk_web_context) { @@ -209,7 +209,7 @@ wkwc_set_spell_checking_enabled(MqConfig __attribute__((unused)) *config, } static void -wkwc_set_spell_checking_languages(MqConfig *config, const gchar *name, +wkwc_spell_checking_languages_cb(MqConfig *config, const gchar *name, const gchar __attribute__((unused)) *value, WebKitWebContext *wk_web_context) { @@ -219,7 +219,7 @@ wkwc_set_spell_checking_languages(MqConfig *config, const gchar *name, } static void -wkwc_set_preferred_languages(MqConfig *config, const gchar *name, +wkwc_preferred_languages_cb(MqConfig *config, const gchar *name, const gchar __attribute__((unused)) *value, WebKitWebContext *wk_web_context) { @@ -301,20 +301,20 @@ mq_web_settings_connect(MqConfig *config, WebKitSettings *wk_settings, /* General -> Spell Checking */ mq_config_notify_boolean(config, "spell.enable", - (MqConfigBooleanCallback) wkwc_set_spell_checking_enabled, + (MqConfigBooleanCallback) wkwc_spell_checking_enabled_cb, wk_web_context); - wkwc_set_spell_checking_enabled(config, "spell.enable", + wkwc_spell_checking_enabled_cb(config, "spell.enable", mq_config_get_boolean(config, "spell.enable"), wk_web_context); mq_config_notify_string(config, "spell.langs", - (MqConfigStringCallback) wkwc_set_spell_checking_languages, + (MqConfigStringCallback) wkwc_spell_checking_languages_cb, wk_web_context); - wkwc_set_spell_checking_languages(config, "spell.langs", NULL, + wkwc_spell_checking_languages_cb(config, "spell.langs", NULL, wk_web_context); /* Display -> Languages */ mq_config_notify_string(config, "intl.accept-languages", - (MqConfigStringCallback) wkwc_set_preferred_languages, + (MqConfigStringCallback) wkwc_preferred_languages_cb, wk_web_context); - wkwc_set_preferred_languages(config, "intl.accept-languages", NULL, + wkwc_preferred_languages_cb(config, "intl.accept-languages", NULL, wk_web_context); } |