[gnome-settings-daemon/rhel-6.9: 24/25] fixup! smartcard: allow smartcard slot id to be 0
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/rhel-6.9: 24/25] fixup! smartcard: allow smartcard slot id to be 0
- Date: Wed, 8 Feb 2017 20:48:24 +0000 (UTC)
commit 51242e6159108c8b154ea7bf83eb5937f77bfd79
Author: Ray Strode <rstrode redhat com>
Date: Tue Nov 29 11:02:54 2016 -0500
fixup! smartcard: allow smartcard slot id to be 0
plugins/smartcard/gsd-smartcard.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/smartcard/gsd-smartcard.c b/plugins/smartcard/gsd-smartcard.c
index 548315c..6cf2de3 100644
--- a/plugins/smartcard/gsd-smartcard.c
+++ b/plugins/smartcard/gsd-smartcard.c
@@ -157,7 +157,7 @@ gsd_smartcard_class_install_properties (GsdSmartcardClass *card_class)
param_spec = g_param_spec_ulong ("slot-id", _("Slot ID"),
_("The slot the card is in"),
- 1, G_MAXULONG,
+ 0, G_MAXULONG,
GSD_SMARTCARD_DEFAULT_SLOT_ID,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_SLOT_ID, param_spec);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]