gtkpango: Fix argument names

This commit is contained in:
Benjamin Otte
2024-09-25 02:19:56 +02:00
parent bd3223d452
commit 797343da59
2 changed files with 5 additions and 5 deletions

View File

@@ -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";

View File

@@ -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);