Commit 146df384 authored by Committed by Germán Poo-Caamaño
comics: Return EV_DOCUMENT_ERROR_UNSUPPORTED_CONTENT when appropriate
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 supported. This also fixes a memory leak, the supported_extensions GSList previously returned by get_supported_image_extensions() was never freed.
Showing with 71 additions and 36 deletions