[gnome-bluetooth] settings: Default test for pairing dialog is confirmation



commit f6e239ba57c4163ff14d1d996ba4699df496e25c
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Dec 6 17:52:33 2013 +0100

    settings: Default test for pairing dialog is confirmation

 lib/test-pairing-dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/test-pairing-dialog.c b/lib/test-pairing-dialog.c
index 1cc567f..2087866 100644
--- a/lib/test-pairing-dialog.c
+++ b/lib/test-pairing-dialog.c
@@ -51,8 +51,8 @@ int main (int argc, char **argv)
 
        window = bluetooth_pairing_dialog_new ();
        bluetooth_pairing_dialog_set_mode (BLUETOOTH_PAIRING_DIALOG (window),
-                                          BLUETOOTH_PAIRING_MODE_YES_NO,
-                                          NULL,
+                                          BLUETOOTH_PAIRING_MODE_PIN_CONFIRMATION,
+                                          "123456",
                                           "My device");
        g_signal_connect (G_OBJECT (window), "response",
                          G_CALLBACK (response_cb), window);


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