diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web-settings.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/web-settings.c b/src/web-settings.c index e0d8ebd..dd56a65 100644 --- a/src/web-settings.c +++ b/src/web-settings.c @@ -153,7 +153,7 @@ static struct mapping mappings[] = { static GHashTable *mappings_table = NULL; static void -bool_cb(const gchar *name, const gboolean value, WebKitSettings *wk_settings) +wks_bool_cb(const gchar *name, const gboolean value, WebKitSettings *wk_settings) { GValue g_value = G_VALUE_INIT; @@ -164,7 +164,7 @@ bool_cb(const gchar *name, const gboolean value, WebKitSettings *wk_settings) } static void -bool_n_cb(const gchar *name, const gboolean value, WebKitSettings *wk_settings) +wks_bool_n_cb(const gchar *name, const gboolean value, WebKitSettings *wk_settings) { GValue g_value = G_VALUE_INIT; @@ -175,7 +175,7 @@ bool_n_cb(const gchar *name, const gboolean value, WebKitSettings *wk_settings) } static void -int_cb(const gchar *name, const gint value, WebKitSettings *wk_settings) +wks_int_cb(const gchar *name, const gint value, WebKitSettings *wk_settings) { GValue g_value = G_VALUE_INIT; @@ -186,7 +186,7 @@ int_cb(const gchar *name, const gint value, WebKitSettings *wk_settings) } static void -str_cb(const gchar *name, const gchar *value, WebKitSettings *wk_settings) +wks_str_cb(const gchar *name, const gchar *value, WebKitSettings *wk_settings) { GValue g_value = G_VALUE_INIT; @@ -227,9 +227,9 @@ mq_web_settings_connect(MqConfig *config, WebKitSettings *wk_settings, case MAP_BOOL: mq_config_notify_boolean(config, mappings[i].mq_name, - (MqConfigBooleanCallback) bool_cb, + (MqConfigBooleanCallback) wks_bool_cb, wk_settings); - bool_cb(mappings[i].mq_name, + wks_bool_cb(mappings[i].mq_name, mq_config_get_boolean(config, mappings[i].mq_name), wk_settings); @@ -237,9 +237,9 @@ mq_web_settings_connect(MqConfig *config, WebKitSettings *wk_settings, case MAP_BOOL_N: mq_config_notify_boolean(config, mappings[i].mq_name, - (MqConfigBooleanCallback) bool_n_cb, + (MqConfigBooleanCallback) wks_bool_n_cb, wk_settings); - bool_cb(mappings[i].mq_name, + wks_bool_cb(mappings[i].mq_name, mq_config_get_boolean(config, mappings[i].mq_name), wk_settings); @@ -247,9 +247,9 @@ mq_web_settings_connect(MqConfig *config, WebKitSettings *wk_settings, case MAP_INT: mq_config_notify_integer(config, mappings[i].mq_name, - (MqConfigIntegerCallback) int_cb, + (MqConfigIntegerCallback) wks_int_cb, wk_settings); - int_cb(mappings[i].mq_name, + wks_int_cb(mappings[i].mq_name, mq_config_get_integer(config, mappings[i].mq_name), wk_settings); @@ -257,9 +257,9 @@ mq_web_settings_connect(MqConfig *config, WebKitSettings *wk_settings, case MAP_STR: mq_config_notify_string(config, mappings[i].mq_name, - (MqConfigStringCallback) str_cb, + (MqConfigStringCallback) wks_str_cb, wk_settings); - str_cb(mappings[i].mq_name, + wks_str_cb(mappings[i].mq_name, mq_config_get_string(config, mappings[i].mq_name), wk_settings); |