summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-03-13 14:35:00 +0100
committerBastien Nocera <hadess@hadess.net>2013-03-13 14:35:21 +0100
commitccc4982a5c5ba7b394972bb05b8b285a67d22380 (patch)
tree4c559dc2dd458a4f6539d9e6ee7552c7a7b5bf3f
parent996a5a508322abcc0a10ad318b3f6dc4d5c90d74 (diff)
downloadgnome-bluetooth-ccc4982a5c5ba7b394972bb05b8b285a67d22380.tar.gz
wizard: Add more debug to the PIN selection
-rw-r--r--wizard/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wizard/main.c b/wizard/main.c
index 84133383..e5e252ae 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -495,8 +495,10 @@ void prepare_callback (GtkWidget *assistant,
NULL);
/* Do we pair, or don't we? */
- if (automatic_pincode && pincode == NULL)
+ if (automatic_pincode && pincode == NULL) {
+ g_debug ("Not pairing as %s", automatic_pincode ? "pincode is NULL" : "automatic_pincode is FALSE");
path = NULL;
+ }
g_object_ref(agent);
bluetooth_client_create_device (client, target_address,