diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c index 4727d099a..073191e2e 100644 --- a/src/cairo-pdf-surface.c +++ b/src/cairo-pdf-surface.c @@ -2658,7 +2658,7 @@ _pattern_supported (cairo_pattern_t *pattern) } static cairo_int_status_t -__cairo_pdf_surface_operation_supported (cairo_pdf_surface_t *surface, +_cairo_pdf_surface_operation_supported (cairo_pdf_surface_t *surface, cairo_operator_t op, cairo_pattern_t *pattern) { @@ -2681,7 +2681,7 @@ _cairo_pdf_surface_analyze_operation (cairo_pdf_surface_t *surface, cairo_operator_t op, cairo_pattern_t *pattern) { - if (__cairo_pdf_surface_operation_supported (surface, op, pattern)) + if (_cairo_pdf_surface_operation_supported (surface, op, pattern)) return CAIRO_STATUS_SUCCESS; else return CAIRO_INT_STATUS_UNSUPPORTED; @@ -2705,7 +2705,7 @@ _cairo_pdf_surface_paint (void *abstract_surface, * possible only because there is nothing between the fallback * images and the paper, nor is anything painted above. */ /* - assert (__cairo_pdf_surface_operation_supported (op, source)); + assert (_cairo_pdf_surface_operation_supported (op, source)); */ status = _cairo_pdf_surface_emit_pattern (surface, source); @@ -2819,7 +2819,7 @@ _cairo_pdf_surface_stroke (void *abstract_surface, if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) return _cairo_pdf_surface_analyze_operation (surface, op, source); - assert (__cairo_pdf_surface_operation_supported (surface, op, source)); + assert (_cairo_pdf_surface_operation_supported (surface, op, source)); status = _cairo_pdf_surface_emit_pattern (surface, source); if (status) @@ -2868,7 +2868,7 @@ _cairo_pdf_surface_fill (void *abstract_surface, if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) return _cairo_pdf_surface_analyze_operation (surface, op, source); - assert (__cairo_pdf_surface_operation_supported (surface, op, source)); + assert (_cairo_pdf_surface_operation_supported (surface, op, source)); status = _cairo_pdf_surface_emit_pattern (surface, source); if (status) @@ -2925,7 +2925,7 @@ _cairo_pdf_surface_show_glyphs (void *abstract_surface, if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) return _cairo_pdf_surface_analyze_operation (surface, op, source); - assert (__cairo_pdf_surface_operation_supported (surface, op, source)); + assert (_cairo_pdf_surface_operation_supported (surface, op, source)); status = _cairo_pdf_surface_emit_pattern (surface, source); if (status) diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index 9573f4916..c97ea285a 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -1971,7 +1971,7 @@ _cairo_ps_surface_paint (void *abstract_surface, * possible only because there is nothing between the fallback * images and the paper, nor is anything painted above. */ /* - assert (__cairo_ps_surface_operation_supported (op, source)); + assert (_cairo_ps_surface_operation_supported (op, source)); */ _cairo_output_stream_printf (stream, diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c index 23714b478..24a990c9c 100644 --- a/src/cairo-svg-surface.c +++ b/src/cairo-svg-surface.c @@ -745,7 +745,7 @@ _cairo_svg_test_force_fallbacks (void) } static cairo_int_status_t -__cairo_svg_surface_operation_supported (cairo_svg_surface_t *surface, +_cairo_svg_surface_operation_supported (cairo_svg_surface_t *surface, cairo_operator_t op, const cairo_pattern_t *pattern) { @@ -766,7 +766,7 @@ _cairo_svg_surface_analyze_operation (cairo_svg_surface_t *surface, cairo_operator_t op, const cairo_pattern_t *pattern) { - if (__cairo_svg_surface_operation_supported (surface, op, pattern)) + if (_cairo_svg_surface_operation_supported (surface, op, pattern)) return CAIRO_STATUS_SUCCESS; else return CAIRO_INT_STATUS_UNSUPPORTED; @@ -1659,7 +1659,7 @@ _cairo_svg_surface_fill (void *abstract_surface, if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) return _cairo_svg_surface_analyze_operation (surface, op, source); - assert (__cairo_svg_surface_operation_supported (surface, op, source)); + assert (_cairo_svg_surface_operation_supported (surface, op, source)); _cairo_output_stream_printf (surface->xml_node, "paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) return _cairo_svg_surface_analyze_operation (surface, op, source); - assert (__cairo_svg_surface_operation_supported (surface, op, source)); + assert (_cairo_svg_surface_operation_supported (surface, op, source)); _cairo_svg_surface_emit_alpha_filter (document); @@ -1852,7 +1852,7 @@ _cairo_svg_surface_stroke (void *abstract_dst, if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) return _cairo_svg_surface_analyze_operation (surface, op, source); - assert (__cairo_svg_surface_operation_supported (surface, op, source)); + assert (_cairo_svg_surface_operation_supported (surface, op, source)); switch (stroke_style->line_cap) { case CAIRO_LINE_CAP_BUTT: @@ -1940,7 +1940,7 @@ _cairo_svg_surface_show_glyphs (void *abstract_surface, if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE) return _cairo_svg_surface_analyze_operation (surface, op, pattern); - assert (__cairo_svg_surface_operation_supported (surface, op, pattern)); + assert (_cairo_svg_surface_operation_supported (surface, op, pattern)); if (num_glyphs <= 0) return CAIRO_STATUS_SUCCESS;