summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-12 16:59:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-12 17:50:35 -0400
commitc603bbe9d8c1a9907fd07913dbec28c8fa5212a1 (patch)
tree0c1f2472e9b3dd1ae93a2fe03b98ec3075e407c6
parent090398e8c473e755cbd8da9269739a20e2f1e4af (diff)
downloadpango-c603bbe9d8c1a9907fd07913dbec28c8fa5212a1.tar.gz
docs: Fix parameter name mismatches
gtk-doc doesn't like these.
-rw-r--r--pango/pango-font.h6
-rw-r--r--pango/pango-layout.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index e053875b..fd5d7df4 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -281,10 +281,10 @@ PangoGravity pango_font_description_get_gravity (const PangoFontDe
PANGO_AVAILABLE_IN_1_42
void pango_font_description_set_variations_static (PangoFontDescription *desc,
- const char *settings);
+ const char *variations);
PANGO_AVAILABLE_IN_1_42
void pango_font_description_set_variations (PangoFontDescription *desc,
- const char *settings);
+ const char *variations);
PANGO_AVAILABLE_IN_1_42
const char *pango_font_description_get_variations (const PangoFontDescription *desc) G_GNUC_PURE;
@@ -486,7 +486,7 @@ PangoFontMap *pango_font_get_font_map (PangoFont *font);
PANGO_AVAILABLE_IN_1_44
gboolean pango_font_covers (PangoFont *font,
- gunichar unichar);
+ gunichar wc);
PANGO_AVAILABLE_IN_1_44
void pango_font_get_features (PangoFont *font,
hb_feature_t *features,
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 96155715..0639b1b4 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -208,7 +208,7 @@ PANGO_AVAILABLE_IN_ALL
int pango_layout_get_spacing (PangoLayout *layout);
PANGO_AVAILABLE_IN_1_44
void pango_layout_set_line_spacing (PangoLayout *layout,
- float spread);
+ float factor);
PANGO_AVAILABLE_IN_1_44
float pango_layout_get_line_spacing (PangoLayout *layout);
PANGO_AVAILABLE_IN_ALL