[pango/pango2: 126/195] columns example: Use simpler extent getters




commit 524a4f23f66f322c6f6b480f9497dabbec2577ac
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]