From acf2a8a0b31a273a49121c8380cc5ac65d8f4dfb Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 2 Oct 2008 19:16:39 -0300 Subject: Mark old plugins API as deprecated. --- input/device.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'input') 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" }, { } }; -- cgit