summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2013-09-10 11:26:22 -0500
committerDenis Kenzior <denkenz@gmail.com>2013-09-12 13:17:40 -0500
commit62c2b81db78eb32de0be9c3a809ddbf27b6e1c32 (patch)
treee79873a21c911d965de71b7d6ef9663e6b354129 /plugins
parentf2103a7ada1a4f5bfb7fee8e5d0ff261718ca759 (diff)
downloadofono-62c2b81db78eb32de0be9c3a809ddbf27b6e1c32.tar.bz2
hfp_hf_bluez5: Remove Cancel method
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_hf_bluez5.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 7c1f56f7..9f402f7f 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -567,16 +567,6 @@ static DBusMessage *profile_release(DBusConnection *conn,
return NULL;
}
-static DBusMessage *profile_cancel(DBusConnection *conn,
- DBusMessage *msg, void *user_data)
-{
- DBG("Profile handler Cancel");
-
- return g_dbus_create_error(msg, BLUEZ_ERROR_INTERFACE
- ".NotImplemented",
- "Implementation not provided");
-}
-
static DBusMessage *profile_disconnection(DBusConnection *conn,
DBusMessage *msg, void *user_data)
{
@@ -625,7 +615,6 @@ static const GDBusMethodTable profile_methods[] = {
{ "fd_properties", "a{sv}" }),
NULL, profile_new_connection) },
{ GDBUS_NOREPLY_METHOD("Release", NULL, NULL, profile_release) },
- { GDBUS_METHOD("Cancel", NULL, NULL, profile_cancel) },
{ GDBUS_METHOD("RequestDisconnection",
GDBUS_ARGS({"device", "o"}), NULL,
profile_disconnection) },