[gnome-bluetooth/wip/hadess/remove-gtk-tree: 2/19] lib: Add debug when pairing is successful




commit 9f5b3f164362a401f37606c226ec3f5d4dacc23a
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Dec 1 11:17:14 2021 +0100

    lib: Add debug when pairing is successful

 lib/bluetooth-client.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 2785cdde..b6504f9d 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1292,6 +1292,8 @@ device_pair_callback (GDBusProxy   *proxy,
                         error->message);
                g_task_return_error (task, error);
        } else {
+               g_debug ("Pair() success for %s",
+                        g_dbus_proxy_get_object_path (proxy));
                g_task_return_boolean (task, TRUE);
        }
        g_object_unref (task);


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