[gnome-bluetooth] wizard: Fix PIN database not being used
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] wizard: Fix PIN database not being used
- Date: Wed, 13 Nov 2013 16:01:23 +0000 (UTC)
commit 4b1ca856365ef2a8d2ec0f2f4788d546bea5bbec
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 13 15:51:02 2013 +0100
wizard: Fix PIN database not being used
We would get data from the PIN code database, but never actually
set that to be the selected PIN code.
wizard/main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 7a94692..5d9de95 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -573,6 +573,9 @@ void prepare_callback (GtkWidget *assistant,
target_ui_behaviour = PAIRING_UI_ICADE;
gtk_entry_set_max_length (GTK_ENTRY (entry_custom), target_max_digits);
+
+ g_free (user_pincode);
+ user_pincode = g_strdup (pincode);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]