Do I Need To Reference The Device?

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
Do I need to call cairo_device_reference on the result from
cairo_surface_get_device
<http://cairographics.org/manual/cairo-cairo-surface-t.html#cairo-surface-get-device>
if I want to keep the reference? In every other analogous case I can
find, e.g. cairo_get_source
<http://cairographics.org/manual/cairo-cairo-t.html#cairo-get-source>,
it is made clear you must get your own reference to the returned
object, but not here.

(I have just in the last few hours fixed a few crashes in Qahirah from
neglecting to observe these rules.)

Is this an omission in the documentation?

Thanks for any clarification.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.