diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-23 22:54:21 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-25 15:29:16 -0500 |
commit | 25dc165392f311e1c4d65496acaa8aa1294eab8e (patch) | |
tree | eb431863fb4971fd7d0a77ba2d0c7593cb2ff5a2 /pango/pango-layout.h | |
parent | d137b6bc7fd92274a7a94ef6cde371f7617e79de (diff) | |
download | pango-25dc165392f311e1c4d65496acaa8aa1294eab8e.tar.gz |
layout: Rename line-spacing to line-height
This matches better with the CSS terminology,
and reduces the clash with the spacing property
that is about to come back.
Update all callers.
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r-- | pango/pango-layout.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h index 1a5d5d41..6e939984 100644 --- a/pango/pango-layout.h +++ b/pango/pango-layout.h @@ -62,12 +62,12 @@ const PangoFontDescription * (PangoLayout *layout); PANGO_AVAILABLE_IN_ALL -void pango_layout_set_line_spacing +void pango_layout_set_line_height (PangoLayout *layout, - float line_spacing); + float line_height); PANGO_AVAILABLE_IN_ALL -float pango_layout_get_line_spacing +float pango_layout_get_line_height (PangoLayout *layout); PANGO_AVAILABLE_IN_ALL |