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




commit 62b686d03e2668d3fb32faf4e5003f97f1bf0a37
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]