diff options
author | David King <amigadave@amigadave.com> | 2015-01-29 13:40:36 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2015-02-05 11:55:44 +0000 |
commit | 9c2b2b5f767730f2ea5fdaa9f0ff9eb5c4ad0dc5 (patch) | |
tree | 30d844e2ccb538e86274aeec18124884daf73e51 | |
parent | b08764a3a095f1e8c54bea479960e93476c3dfae (diff) | |
download | yelp-9c2b2b5f767730f2ea5fdaa9f0ff9eb5c4ad0dc5.tar.gz |
Fix variable shadowing warnings in tests
-rw-r--r-- | tests/test-settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-settings.c b/tests/test-settings.c index cb74a60e..a1d04845 100644 --- a/tests/test-settings.c +++ b/tests/test-settings.c @@ -34,7 +34,7 @@ static GtkWidget *icon_images[YELP_SETTINGS_NUM_ICONS]; static GtkWidget *font_choosers[YELP_SETTINGS_NUM_FONTS]; static void -colors_changed (YelpSettings *settings, gpointer user_data) +colors_changed (YelpSettings *unused_settings, gpointer user_data) { static const gchar *tmpl = "<html><head>" @@ -94,7 +94,7 @@ colors_changed (YelpSettings *settings, gpointer user_data) } static void -icons_changed (YelpSettings *settings, gpointer user_data) +icons_changed (YelpSettings *unused_settings, gpointer user_data) { gint i; for (i = 0; i < YELP_SETTINGS_NUM_ICONS; i++) { @@ -107,7 +107,7 @@ icons_changed (YelpSettings *settings, gpointer user_data) } static void -fonts_changed (YelpSettings *settings, gpointer user_data) +fonts_changed (YelpSettings *unused_settings, gpointer user_data) { g_object_set (websettings, "default-font-family", yelp_settings_get_font_family (settings, YELP_SETTINGS_FONT_VARIABLE), |