• Dominic Lachowicz's avatar
    Make cairo render functions return a gboolean. Returns TRUE if the image · b58834b0
    Dominic Lachowicz authored
    2008-08-26  Dominic Lachowicz <domlachowicz@gmail.com>
    
            * rsvg-cairo.h: Make cairo render functions return a gboolean. Returns TRUE
            if the image can't be rendered
            * rsvg.c: Check && handle the return value
            * rsvg-cairo-render.c: Implement the above. Also, return FALSE if we're asked
            to render an ID that doesn't exist
    
            Collectively, fixes #540383 - rsvg_handle_render_cairo_sub - if ID not found,
            return an error and/or dont render whole SVG
    
    
    svn path=/trunk/; revision=1175
    b58834b0
rsvg.c 4.07 KB