[pango/pango2: 84/168] columns example: Use simpler extent getters
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 84/168] columns example: Use simpler extent getters
- Date: Wed, 8 Jun 2022 10:22:17 +0000 (UTC)
commit d882e3b1dfbe80af33f4bb271441552c5ed3c21a
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 5 21:40:17 2022 -0400
columns example: Use simpler extent getters
examples/columns.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/examples/columns.c b/examples/columns.c
index ba649913..a8a21c78 100644
--- a/examples/columns.c
+++ b/examples/columns.c
@@ -77,7 +77,7 @@ retry:
if (!pango_line_is_paragraph_end (line))
line = pango_line_justify (line, width);
- pango_line_get_trimmed_extents (line, PANGO_LEADING_TRIM_NONE, &ext);
+ pango_line_get_extents (line, NULL, &ext);
if (y + ext.height > height)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]