[gnome-bluetooth] lib: Fix test-agent for API change



commit 60a5314f6df0dbda1f639acddbe272d5fdc80e20
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Dec 3 16:38:21 2013 +0100

    lib: Fix test-agent for API change

 lib/test-agent.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/lib/test-agent.c b/lib/test-agent.c
index a57baac..6878774 100644
--- a/lib/test-agent.c
+++ b/lib/test-agent.c
@@ -32,7 +32,7 @@
 
 #include "bluetooth-agent.h"
 
-static gboolean
+static void
 agent_confirm (GDBusMethodInvocation *invocation,
               GDBusProxy *device,
               guint passkey,
@@ -45,8 +45,6 @@ agent_confirm (GDBusMethodInvocation *invocation,
        g_print ("Confirming passkey %6.6d from %s\n", passkey, path);
 
        g_dbus_method_invocation_return_value (invocation, NULL);
-
-       return TRUE;
 }
 
 static GMainLoop *mainloop = NULL;


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