From: Dana Jansens Date: Sun, 11 Aug 2013 00:46:27 +0000 (-0400) Subject: Add support for loading SVG icons using librsvg. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=4e6c0086a657399d989f2e4849f7b397d7d4efbc;hp=4e6c0086a657399d989f2e4849f7b397d7d4efbc;p=chaz%2Fopenbox Add support for loading SVG icons using librsvg. 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. ---