[gnome-bluetooth/wip/hadess/fix-keyboard-cancel: 1/5] agent: Fix user_data for DisplayPincode callback




commit f66e1999d827c1b3513e0162f563e289290f4f20
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 18 17:45:23 2021 +0100

    agent: Fix user_data for DisplayPincode callback

 lib/bluetooth-agent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/bluetooth-agent.c b/lib/bluetooth-agent.c
index 53aa8147..b005b9ba 100644
--- a/lib/bluetooth-agent.c
+++ b/lib/bluetooth-agent.c
@@ -200,7 +200,7 @@ static gboolean bluetooth_agent_display_pincode(BluetoothAgent *agent,
                return FALSE;
 
        agent->display_pincode_func(invocation, device, pincode,
-                                   agent->display_data);
+                                   agent->display_pincode_data);
 
        return TRUE;
 }


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