mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
fp-device: Ensure finger status is set to proper type on property getter
Finger status is a flag not an enum. Add tests.
This commit is contained in:
committed by
Marco Trevisan
parent
de271a0e8d
commit
b5496fd257
@@ -193,7 +193,7 @@ fp_device_get_property (GObject *object,
|
||||
break;
|
||||
|
||||
case PROP_FINGER_STATUS:
|
||||
g_value_set_enum (value, priv->finger_status);
|
||||
g_value_set_flags (value, priv->finger_status);
|
||||
break;
|
||||
|
||||
case PROP_DRIVER:
|
||||
|
||||
Reference in New Issue
Block a user