Workaround to create_layout memory leak

Jeffrey Britton <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAJTKU_iMfyF1qbor5=vzwLZ9_6z40iCMoi+OYw94ETSpfmEm=g@mail.gmail.com>
I can create the layout just once and then use
layout.context_changed() when the context changes, like for a window resize.
This avoid the memory leak.

--
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.