From 492d037f9b6c95205775eef648d8676e4330663d Mon Sep 17 00:00:00 2001 From: Oleg Romashin Date: Mon, 4 Aug 2008 02:30:08 +0300 Subject: [PATCH] Fixed show_glyphs build error according to latest cairo 1.6.4 update --- gfx/cairo/cairo/src/cairo-qpainter-surface.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp b/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp index 9b5514611d5c..584f392a30aa 100644 --- a/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp +++ b/gfx/cairo/cairo/src/cairo-qpainter-surface.cpp @@ -1313,7 +1313,8 @@ _cairo_qpainter_surface_show_glyphs (void *abstract_surface, cairo_pattern_t *source, cairo_glyph_t *glyphs, int num_glyphs, - cairo_scaled_font_t *scaled_font) + cairo_scaled_font_t *scaled_font, + int *remaining_glyphs) { cairo_qpainter_surface_t *qs = (cairo_qpainter_surface_t *) abstract_surface; @@ -1356,7 +1357,7 @@ _cairo_qpainter_surface_show_glyphs (void *abstract_surface, } return (cairo_int_status_t) - _cairo_surface_show_glyphs (qs->xlib_equiv, op, source, glyphs, num_glyphs, scaled_font); + _cairo_surface_show_text_glyphs (qs->xlib_equiv, op, source, NULL, 0, glyphs, num_glyphs, NULL, 0, FALSE, scaled_font); } #endif