mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
device: Fix verify-disconnected state name
Respect protocol, and use proper name
This commit is contained in:
committed by
Bastien Nocera
parent
efac52d94f
commit
5e9624bef5
@ -344,7 +344,7 @@ verify_result_to_name (gboolean match, GError *error)
|
|||||||
* Are drivers/libfprint/fprintd really in agreement here?
|
* Are drivers/libfprint/fprintd really in agreement here?
|
||||||
*/
|
*/
|
||||||
if (g_error_matches (error, FP_DEVICE_ERROR, FP_DEVICE_ERROR_PROTO))
|
if (g_error_matches (error, FP_DEVICE_ERROR, FP_DEVICE_ERROR_PROTO))
|
||||||
return "verify-disconnect";
|
return "verify-disconnected";
|
||||||
else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
|
else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
|
||||||
return "verify-no-match";
|
return "verify-no-match";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user