fp-device: add FP_DEVICE_RETRY_TOO_FAST error code

This commit is contained in:
MrNerdHair
2022-11-12 03:08:30 -05:00
committed by Marco Trevisan
parent cdc22b4553
commit 1c4ed2e225
2 changed files with 7 additions and 0 deletions

View File

@@ -117,6 +117,10 @@ fpi_device_retry_new (FpDeviceRetry error)
msg = "Please try again after removing the finger first.";
break;
case FP_DEVICE_RETRY_TOO_FAST:
msg = "The swipe was too fast, please try again.";
break;
default:
g_warning ("Unsupported error, returning general error instead!");
error = FP_DEVICE_RETRY_GENERAL;