summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--input/main.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/input/main.c b/input/main.c
index 7953e4b8..990ca360 100644
--- a/input/main.c
+++ b/input/main.c
@@ -45,12 +45,6 @@ static DBusMessage *input_connect(DBusConnection *conn,
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
}
-static DBusMessage *input_cancel_connect(DBusConnection *conn,
- DBusMessage *msg, void *user_data)
-{
- return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
-}
-
static DBusMessage *input_disconnect(DBusConnection *conn,
DBusMessage *msg, void *user_data)
{
@@ -67,10 +61,9 @@ static DBusMessage *input_is_connected(DBusConnection *conn,
}
static GDBusMethodTable input_methods[] = {
- { "Connect", "", "", input_connect },
- { "CancelConnect", "", "", input_cancel_connect },
- { "Disconnect", "", "", input_disconnect },
- { "IsConnected", "", "b", input_is_connected },
+ { "Connect", "", "", input_connect },
+ { "Disconnect", "", "", input_disconnect },
+ { "IsConnected", "", "b", input_is_connected },
{ }
};