diff options
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; |