[yelp/wip/kill-gnome-common: 5/18] Fix variable shadowing warnings in tests



commit 9c2b2b5f767730f2ea5fdaa9f0ff9eb5c4ad0dc5
Author: David King <amigadave amigadave com>
Date:   Thu Jan 29 13:40:36 2015 +0000

    Fix variable shadowing warnings in tests

 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 cb74a60..a1d0484 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),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]