mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-08 16:18:46 +02:00
Add clear-storage example
This commit is contained in:
parent
6872fcde27
commit
fdc7355fbe
1 changed files with 0 additions and 8 deletions
|
|
@ -1828,14 +1828,6 @@ fp_device_clear_storage (FpDevice *device,
|
||||||
return;
|
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))
|
if (!(priv->features & FP_DEVICE_FEATURE_STORAGE_CLEAR))
|
||||||
{
|
{
|
||||||
g_task_return_error (task,
|
g_task_return_error (task,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue