mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Add ScanType and NumberEnrollStages properties
Export the type of scan the device performs, and, when the device is claimed, the number of enrollment stages.
This commit is contained in:
committed by
Daniel Drake
parent
f7186c7ff0
commit
874d8164b4
@ -302,7 +302,7 @@ static int do_verify(DBusGConnection *connection, GMainLoop *loop, pam_handle_t
|
||||
|
||||
if (dbus_g_proxy_call (dev, "GetProperties", &error, G_TYPE_INVALID,
|
||||
dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), &props, G_TYPE_INVALID)) {
|
||||
data->driver = g_strdup (g_hash_table_lookup (props, "Name"));
|
||||
data->driver = g_value_dup_string (g_hash_table_lookup (props, "Name"));
|
||||
g_hash_table_destroy (props);
|
||||
}
|
||||
if (!data->driver)
|
||||
|
||||
Reference in New Issue
Block a user