Add public API for verifying thumbnails
@oholy
Submitted by Ondrej Holy Link to original bug (#791564)
Description
thumbnail-verify.c/.h contains thumbnail_verify function which is used for thumbnail verification for local files and conforms spec. GVfs currently doesn't verify thumbnails, however, MAYBE it would be nice to implement "is-valid" attribute support for GVfs also, but I don't want to duplicate the code in that case...
Wouldn't be possible to provide thumbnail_verify function publicly? It would require probably to change GLocalFileStat parameter to something more generic.
Similar API is already provided by GnomeDesktopThumbnailFactory. So this function could be used there also, or GVfs could use functionality from there...