summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-23 22:54:21 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-25 15:29:16 -0500
commit25dc165392f311e1c4d65496acaa8aa1294eab8e (patch)
treeeb431863fb4971fd7d0a77ba2d0c7593cb2ff5a2 /pango/pango-layout.h
parentd137b6bc7fd92274a7a94ef6cde371f7617e79de (diff)
downloadpango-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.h6
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