[cairo] [PATCH] Enable links to image files in SVG backend

Bill Spitzak spitzak at gmail.com
Wed Jan 20 12:23:55 PST 2010

Carl Worth wrote:

> The other option to fix the bug (without losing the convenience here)
> would be to clear the mime data when a surface is modified. This would
> make the data more consistent, certainly. It would mean that users would
> have to be careful about the timing of calling
> cairo_surface_set_mime_data. I can't (at the moment) think of a
> situation where an application wouldn't have the flexibility to just
> call that at the correct time.

That could be simply fixed by making set_mime_data() not set the 
filename if the image has been modified.

More information about the cairo mailing list