[pango/pango2: 84/168] columns example: Use simpler extent getters




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]