diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-25 00:52:54 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-25 15:31:25 -0500 |
commit | 70a694634561acc81d560f3ae4e2a4dfc6cc90b0 (patch) | |
tree | ae7033c769140ecb1075c3ea70f5bd5b6cac7583 /examples | |
parent | d8c9f682d41a42db9515d0ce561342dada1ef859 (diff) | |
download | pango-70a694634561acc81d560f3ae4e2a4dfc6cc90b0.tar.gz |
line-breaker: Rename done()
Rename pango_line_breaker_done to
pango_line_breaker_has_line.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/columns.c | 2 | ||||
-rw-r--r-- | examples/parshape.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/columns.c b/examples/columns.c index 39c799c2..4001a09a 100644 --- a/examples/columns.c +++ b/examples/columns.c @@ -63,7 +63,7 @@ main (int argc, char *argv[]) height = (300 - margin) * PANGO_SCALE; col = 0; - while (!pango_line_breaker_done (breaker)) + while (pango_line_breaker_has_line (breaker)) { PangoLayoutLine *line; PangoRectangle ext; diff --git a/examples/parshape.c b/examples/parshape.c index 219cc378..3c79b9be 100644 --- a/examples/parshape.c +++ b/examples/parshape.c @@ -55,7 +55,7 @@ main (int argc, char *argv[]) x = (m - w / 2) * PANGO_SCALE; width = w * PANGO_SCALE; - while (!pango_line_breaker_done (breaker)) + while (pango_line_breaker_has_line (breaker)) { PangoLayoutLine *line; PangoRectangle ext; |