• Bastien Nocera's avatar
    comics: Return EV_DOCUMENT_ERROR_UNSUPPORTED_CONTENT when appropriate · 146df384
    Bastien Nocera authored
    Return EV_DOCUMENT_ERROR_UNSUPPORTED_CONTENT when the comic book archive
    contains supported image files that gdk-pixbuf doesn't support, such as
    WebP images.
    This reworks the list of supported extensions to be a GHashTable from
    which we can easily figure out whether an extension is known, and
    This also fixes a memory leak, the supported_extensions GSList
    previously returned by get_supported_image_extensions() was never freed.
comics-document.c 15.9 KB