summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-10-02 19:16:39 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-10-02 19:16:39 -0300
commitacf2a8a0b31a273a49121c8380cc5ac65d8f4dfb (patch)
treec45743d7b6b8fce3e2f96e5c5049bc4c3793200d /input/device.c
parent737e08aa766744772b07bf1f35f3aa50d9bf63f0 (diff)
Mark old plugins API as deprecated.
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/input/device.c b/input/device.c
index 90b4b9ad..dd5ac823 100644
--- a/input/device.c
+++ b/input/device.c
@@ -1017,14 +1017,15 @@ static GDBusMethodTable device_methods[] = {
{ "Connect", "", "", device_connect,
G_DBUS_METHOD_FLAG_ASYNC },
{ "Disconnect", "", "", device_disconnect },
- { "IsConnected", "", "b", device_is_connected },
+ { "IsConnected", "", "b", device_is_connected,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
{ "GetProperties", "", "a{sv}",device_get_properties },
{ }
};
static GDBusSignalTable device_signals[] = {
- { "Connected", "" },
- { "Disconnected", "" },
+ { "Connected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
+ { "Disconnected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
{ "PropertyChanged", "sv" },
{ }
};