Add comment for obviously broken function.

This commit is contained in:
Carl Worth 2005-10-13 20:15:29 +00:00
parent 31a561e2c2
commit 9d27993ced
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-10-13 Carl Worth <cworth@cworth.org>
* src/cairo-pdf-surface.c: (emit_surface_pattern): Add comment for
obviously broken function.
2005-10-13 Carl Worth <cworth@cworth.org>
Reviewed by: keithp

View file

@ -794,6 +794,8 @@ emit_surface_pattern (cairo_pdf_surface_t *dst,
unsigned int id, alpha;
cairo_matrix_t pm;
/* XXX: This is broken. We need new code here to actually emit the
* PDF surface. */
if (pattern->surface->backend == &cairo_pdf_surface_backend)
return CAIRO_STATUS_SUCCESS;