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




commit d42943190b82a3cae8de6354c02b65d47cea2433
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 16fd00ec..fd750ab2 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]