Use readonly get_line, since it is supposed to be faster.

This commit is contained in:
Michael Drake 2016-02-08 15:59:24 +00:00
parent 9cb522ce38
commit df2d62a872

View File

@ -244,7 +244,7 @@ bool nsfont_paint(int x, int y, const char *string, size_t length,
pango_layout_set_font_description(layout, desc);
pango_layout_set_text(layout, string, length);
line = pango_layout_get_line(layout, 0);
line = pango_layout_get_line_readonly(layout, 0);
cairo_move_to(current_cr, x, y);
nsgtk_set_colour(fstyle->foreground);