mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
More identification work
- Add a finger selected signal, so that when an "automatic" finger is selected for verification, we know which one to scan - Fix the finger print numbers list to use GPOINTER_TO_INT / GINT_TO_POINTER - Make sure the gallery is NULL when there's no prints available - Don't use identification when a finger number is provided - Add support for selecting the finger number in verify - Add support for fatal warnings there as well
This commit is contained in:
committed by
Daniel Drake
parent
ee874bb1d4
commit
15fbacd738
@ -237,7 +237,6 @@ static GSList *scan_dev_storedir(char *devpath, uint16_t driver_id,
|
||||
while ((ent = g_dir_read_name(dir))) {
|
||||
/* ent is an 1 hex character fp_finger code */
|
||||
guint64 val;
|
||||
int *list_item;
|
||||
gchar *endptr;
|
||||
|
||||
if (*ent == 0 || strlen(ent) != 1)
|
||||
@ -249,9 +248,7 @@ static GSList *scan_dev_storedir(char *devpath, uint16_t driver_id,
|
||||
continue;
|
||||
}
|
||||
|
||||
list_item = g_slice_new(int);
|
||||
*list_item = val;
|
||||
list = g_slist_prepend(list, list_item);
|
||||
list = g_slist_prepend(list, GINT_TO_POINTER(val));
|
||||
}
|
||||
|
||||
g_dir_close(dir);
|
||||
|
||||
Reference in New Issue
Block a user