[yelp/wip/kill-gnome-common: 4/16] Fix variable shadowing warnings in	tests
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [yelp/wip/kill-gnome-common: 4/16] Fix variable shadowing warnings in	tests
- Date: Thu, 29 Jan 2015 14:23:40 +0000 (UTC)
commit a361acd5263b05621b91246a8806a8487ecc7148
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]