diff options
-rw-r--r-- | plugins/usb-protection/gsd-usb-protection-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/usb-protection/gsd-usb-protection-manager.c b/plugins/usb-protection/gsd-usb-protection-manager.c index daaf7771..bdbbf6c7 100644 --- a/plugins/usb-protection/gsd-usb-protection-manager.c +++ b/plugins/usb-protection/gsd-usb-protection-manager.c @@ -429,7 +429,7 @@ is_only_hid (GVariant *device) guint i; gboolean only_hid = TRUE; - g_variant_get_child (device, POLICY_ATTRIBUTES, "a{ss}", &iter); + g_variant_get_child (device, PRESENCE_ATTRIBUTES, "a{ss}", &iter); while (g_variant_iter_loop (iter, "{ss}", &name, &value)) { if (g_strcmp0 (name, WITH_INTERFACE) == 0) { g_auto(GStrv) interfaces_splitted = NULL; |