summaryrefslogtreecommitdiff
path: root/examples/columns.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/columns.c')
-rw-r--r--examples/columns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/columns.c b/examples/columns.c
index 063127b6..39c799c2 100644
--- a/examples/columns.c
+++ b/examples/columns.c
@@ -74,10 +74,10 @@ retry:
PANGO_WRAP_CHAR,
PANGO_ELLIPSIZE_NONE);
- if (!pango_layout_line_ends_paragraph (line))
+ if (!pango_layout_line_is_paragraph_end (line))
line = pango_layout_line_justify (line, width);
- pango_layout_line_get_trimmed_extents (line, PANGO_LEADING_TRIM_NONE, &ext);
+ pango_layout_line_get_extents (line, NULL, &ext);
if (y + ext.height > height)
{