diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-11-08 07:35:44 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-11-08 07:35:44 +0000 |
| commit | d08af17faef48441390db53bc6e225ae6eae6b19 (patch) | |
| tree | d945b4cf97cc7acda9cede8f9324dda96a909977 /src/sp-guide.cpp | |
| parent | attempt at fixing [ 1679218 ] open/import clicking on a 0 byte image results ... (diff) | |
| download | inkscape-d08af17faef48441390db53bc6e225ae6eae6b19.tar.gz inkscape-d08af17faef48441390db53bc6e225ae6eae6b19.zip | |
warning cleanup
(bzr r4043)
Diffstat (limited to 'src/sp-guide.cpp')
| -rw-r--r-- | src/sp-guide.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |
