[pango/line-breaker: 16/16] render tests: adapt




commit dff1f18c8ce5fd8e37fa4210eb841ef3df88e9bb
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 17 00:08:23 2022 -0500

    render tests: adapt

 tests/test-renderer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-renderer.c b/tests/test-renderer.c
index 411fad16..a9e27dc5 100644
--- a/tests/test-renderer.c
+++ b/tests/test-renderer.c
@@ -100,7 +100,7 @@ main (int argc, char *argv[])
                                                x, width,
                                                PANGO_WRAP_CHAR,
                                                PANGO_ELLIPSIZE_NONE);
-          pango_line_get_extents (line, &ext);
+          pango_line_get_extents (line, NULL, &ext);
           line = pango_line_justify (line, width);
           pango_lines_add_line (lines, line, x, y - ext.y);
 
@@ -180,7 +180,7 @@ main (int argc, char *argv[])
               int offset;
               int xx;
 
-              pango_glyph_item_get_extents (run, &rect, FALSE);
+              pango_glyph_item_get_extents (run, NULL, &rect, FALSE);
 
               start = text + run->item->offset;
               offset = g_utf8_strlen (text, start - text);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]