[pango] docs: Fix parameter name mismatches



commit c603bbe9d8c1a9907fd07913dbec28c8fa5212a1
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 12 16:59:00 2019 -0400

    docs: Fix parameter name mismatches
    
    gtk-doc doesn't like these.

 pango/pango-font.h   | 6 +++---
 pango/pango-layout.h | 2 +-
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]