Export _secret_attributes_validate as public API
@csaavedra
Submitted by Claudio Saavedra Assigned to libsecret maintainer(s)
Link to original bug (#694082)
Description
If the attributes passed to secret_service_clear() can't be validated, secret_service_clear() simply returns. This breaks the application logic, as it being an asynchronous method, it is expected that the GAsyncReadyCallback will be called and a proper error will be set upon secret_service_clear_finish() call.
While an invalid attributes table is an application bug, the library should nevertheless let the application recover and not leave it hanging to a method that is never called.