diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c index 901af1b603..954cf28aac 100644 --- a/gtk/gtkpango.c +++ b/gtk/gtkpango.c @@ -450,9 +450,9 @@ pango_stretch_to_string (PangoStretch stretch) } const char * -pango_underline_to_string (PangoUnderline value) +pango_underline_to_string (PangoUnderline underline) { - switch (value) + switch (underline) { case PANGO_UNDERLINE_NONE: return "none"; @@ -473,9 +473,9 @@ pango_underline_to_string (PangoUnderline value) } const char * -pango_overline_to_string (PangoOverline value) +pango_overline_to_string (PangoOverline overline) { - switch (value) + switch (overline) { case PANGO_OVERLINE_NONE: return "none"; diff --git a/gtk/gtkpangoprivate.h b/gtk/gtkpangoprivate.h index e5eaefd97c..6efc2724ed 100644 --- a/gtk/gtkpangoprivate.h +++ b/gtk/gtkpangoprivate.h @@ -57,7 +57,7 @@ gtk_pango_attribute_start_element (GtkBuildableParseContext *context, const char *pango_wrap_mode_to_string (PangoWrapMode mode); const char *pango_underline_to_string (PangoUnderline underline); -const char *pango_overline_to_string (PangoOverline underline); +const char *pango_overline_to_string (PangoOverline overline); const char *pango_stretch_to_string (PangoStretch stretch); const char *pango_style_to_string (PangoStyle style); const char *pango_variant_to_string (PangoVariant variant);