[cairo-bugs] [Bug 7049] cairo_*_destroy() lack status return

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 29 03:36:49 PDT 2008


Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
            Summary|PS/PDF/SVG stream error     |cairo_*_destroy() lack
                   |checking                    |status return

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk>  2008-09-29 03:36:45 PST ---
Stephen, I've added test cases to ensure that a write error is propagated back
to the application - but given the API constraints the application must call
cairo_surface_finish() explicitly to ensure that the surface is written out
(which requires fiddling with cairo_surface_get_refererence_count() in its
surface_destroy function for PyCairo to support throwing exceptions from
write-out). Retitling to reflect issue with current cairo_*_destroy() API.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list