[cairo] Gotcha with dynamically allocated surface sources.

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Wed Sep 28 15:37:01 PDT 2011

Hello Phil,
On Wed, 28 Sep 2011, Cope, Phil (GE Energy) wrote:
> There doesn't appear to a way of registering a callback to be executed
> when the surface reference count drops to zero, so I wonder how else
> application programmers are supposed to handle this situation ?
You should look at setting a destructor for your image  data using

More information about the cairo mailing list