On Saturday 10 January 2004 10:58, Olexiy Avramchenko wrote: > As for size issues: I'm afraid that Glib's markup stuff doesn't handle > compressed xml files, > like libxml2 does. For example: I have ~600KB xml for my current > project, gzipped it's about ~36KB.
That's a good point. I didn't know it was possible to use gzipped XML files with libglade, and it certainly makes sense. However, in that case I'd just add a dependency to libz (which is already there anyway when using Gtk+), and decompress the file/buffer in libglade using libz before feeding it to the GMarkupParser. New patch that can handle both plain text input and gzipped files (and buffers) attached, in case anyone wants to give it a shot. Cheers -Tim
libglade-2.0-nolibxml2-but-still-gzip-enabled-2004-Jan-10.diff.bz2
Description: BZip2 compressed data
