[gnome-bluetooth] wizard: Add more debug to the PIN selection



commit ccc4982a5c5ba7b394972bb05b8b285a67d22380
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 13 14:35:00 2013 +0100

    wizard: Add more debug to the PIN selection

 wizard/main.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 8413338..e5e252a 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]