mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-04-23 03:00:48 +02:00
Add clear-storage example
This commit is contained in:
parent
4cdfd0292e
commit
78faf35721
1 changed files with 0 additions and 8 deletions
|
|
@ -1828,14 +1828,6 @@ fp_device_clear_storage (FpDevice *device,
|
|||
return;
|
||||
}
|
||||
|
||||
if (!(priv->features & FP_DEVICE_FEATURE_STORAGE))
|
||||
{
|
||||
g_task_return_error (task,
|
||||
fpi_device_error_new_msg (FP_DEVICE_ERROR_NOT_SUPPORTED,
|
||||
"Device has no storage."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(priv->features & FP_DEVICE_FEATURE_STORAGE_CLEAR))
|
||||
{
|
||||
g_task_return_error (task,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue