]> Dogcows Code - chaz/openbox/commitdiff
Add support for loading SVG icons using librsvg.
authorDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 00:46:27 +0000 (20:46 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 01:59:12 +0000 (21:59 -0400)
This adds a configure option --disable-librsvg, but defaults to
using the library if it is present during configure.

When enabled, Openbox will attempt to load svg image files using
the library, similar to how Imlib2 is used for other image
formats.

Since librsvg uses the libXml2 library, their errors end up in
the same global namespace as Openbox config file parsing. To
avoid this, we reset the libXml current error whenever we start
loading a file, and save the last error that occurred when we
are finished, by storing the error in the ObtXmlInst.


No differences found
This page took 0.024142 seconds and 4 git commands to generate.