From d08af17faef48441390db53bc6e225ae6eae6b19 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 8 Nov 2007 07:35:44 +0000 Subject: warning cleanup (bzr r4043) --- src/sp-guide.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sp-guide.cpp') diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp index ccaf81649..d65c9997a 100644 --- a/src/sp-guide.cpp +++ b/src/sp-guide.cpp @@ -107,33 +107,33 @@ static void sp_guide_init(SPGuide *guide) guide->hicolor = 0xff00007f; } -static void sp_guide_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) +static void sp_guide_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec */*pspec*/) { SPGuide &guide = *SP_GUIDE(object); switch (prop_id) { - case PROP_COLOR: + case PROP_COLOR: guide.color = g_value_get_uint(value); for (GSList *l = guide.views; l != NULL; l = l->next) { sp_guideline_set_color(SP_GUIDELINE(l->data), guide.color); } break; - case PROP_HICOLOR: + case PROP_HICOLOR: guide.hicolor = g_value_get_uint(value); break; } } -static void sp_guide_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) +static void sp_guide_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec */*pspec*/) { SPGuide const &guide = *SP_GUIDE(object); switch (prop_id) { - case PROP_COLOR: + case PROP_COLOR: g_value_set_uint(value, guide.color); break; - case PROP_HICOLOR: + case PROP_HICOLOR: g_value_set_uint(value, guide.hicolor); break; } -- cgit v1.2.3