[gnome-bluetooth] lib: Add stub for ConfirmMode method
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Add stub for ConfirmMode method
- Date: Wed, 28 Sep 2011 13:49:13 +0000 (UTC)
commit 6dec248e656d81a3f0d290b48454ccb1a405932b
Author: Bastien Nocera <hadess hadess net>
Date: Wed Sep 28 12:17:49 2011 +0100
lib: Add stub for ConfirmMode method
lib/bluetooth-agent.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-agent.c b/lib/bluetooth-agent.c
index f165101..9733231 100644
--- a/lib/bluetooth-agent.c
+++ b/lib/bluetooth-agent.c
@@ -67,6 +67,9 @@ static const gchar introspection_xml[] =
" <arg type='o' name='device' direction='in'/>"
" <arg type='s' name='uuid' direction='in'/>"
" </method>"
+" <method name='ConfirmMode'>"
+" <arg type='s' name='mode'/>"
+" </method>"
" <method name='Cancel'/>"
" </interface>"
"</node>";
@@ -350,6 +353,8 @@ handle_method_call (GDBusConnection *connection,
g_free (uuid);
} else if (g_strcmp0 (method_name, "Cancel") == 0) {
bluetooth_agent_cancel (agent, invocation);
+ } else if (g_strcmp0 (method_name, "ConfirmMode") == 0) {
+ g_dbus_method_invocation_return_value (invocation, NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]