[cairo] Do I Need To Reference The Device?
ldo at geek-central.gen.nz
Sun Mar 8 00:48:18 PST 2015
On Sun, 08 Mar 2015 00:22:34 -0800, Behdad Esfahbod wrote:
> On 15-03-07 08:10 PM, Lawrence D'Oliveiro wrote:
>> Do I need to call cairo_device_reference on the result from
>> if I want to keep the reference?
> Yes, you need to reference that.
OK, suitable patch committed.
>> Is this an omission in the documentation?
> Sounds about it. Patches welcome!
I guess all you need to do is append the usual boilerplate line: “This
object is owned by cairo. To keep a reference to it, you must call
More information about the cairo